From 9881822582783a45d49c11836a88a5d4b8b283a2 Mon Sep 17 00:00:00 2001 From: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> Date: Fri, 15 Nov 2024 12:59:38 -0700 Subject: [PATCH] fix formatting (#210) Signed-off-by: Sarah Funkhouser <147884153+golanglemonade@users.noreply.github.com> --- .pre-commit-config.yaml | 1 + docker/Taskfile.yaml | 18 +++++++++--------- docker/docker-compose-pg.yml | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d14092d4..2263c177 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,6 +15,7 @@ repos: hooks: - id: yamlfmt - repo: https://github.com/crate-ci/typos + # ensure this stays in this format, the auto-updater might update to something like typos-dict-v0.11.35 which is not correct rev: v1.27.3 hooks: - id: typos diff --git a/docker/Taskfile.yaml b/docker/Taskfile.yaml index 9c5c5802..1c6d3ff8 100644 --- a/docker/Taskfile.yaml +++ b/docker/Taskfile.yaml @@ -52,15 +52,15 @@ tasks: - "docker compose -p redis down" riverboat: - dir: .. - desc: brings up the compose environment for riverboat - env: - RIVERBOAT_TAG: "{{.RIVERBOAT_TAG}}" - vars: - RIVERBOAT_TAG: - sh: "uname=$(uname -m); if [ $uname = 'x86_64' ]; then echo 'amd64-latest'; else echo 'arm64-latest'; fi" - cmds: - - "docker compose -f ./docker/docker-compose-riverboat.yml -p riverboat up -d" + dir: .. + desc: brings up the compose environment for riverboat + env: + RIVERBOAT_TAG: "{{.RIVERBOAT_TAG}}" + vars: + RIVERBOAT_TAG: + sh: "uname=$(uname -m); if [ $uname = 'x86_64' ]; then echo 'amd64-latest'; else echo 'arm64-latest'; fi" + cmds: + - "docker compose -f ./docker/docker-compose-riverboat.yml -p riverboat up -d" riverboat:down: dir: .. diff --git a/docker/docker-compose-pg.yml b/docker/docker-compose-pg.yml index 7e610f55..d8bea92d 100644 --- a/docker/docker-compose-pg.yml +++ b/docker/docker-compose-pg.yml @@ -11,7 +11,7 @@ services: volumes: - ./pg-init-scripts:/docker-entrypoint-initdb.d healthcheck: - test: [ "CMD-SHELL", "pg_isready -U postgres" ] + test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 5s timeout: 5s retries: 5