From 4c7afa04c6daf6d9d1270d127991ed849b931c23 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Sat, 14 Jun 2025 13:03:07 +0300 Subject: [PATCH] Name CI steps --- .github/workflows/test_and_deploy.yml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index d4e281c7..211b0b43 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -58,12 +58,18 @@ jobs: env: FLUXON_LICENSE_KEY: ${{ secrets.FLUXON_LICENSE_KEY }} FLUXON_KEY_FINGERPRINT: ${{ secrets.FLUXON_KEY_FINGERPRINT }} - - run: mix deps.get - - run: mix deps.unlock --check-unused - - run: mix gettext.extract --check-up-to-date - - run: mix format --check-formatted - - run: mix credo --strict - - run: mix test + - name: Fetch dependencies + run: mix deps.get + - name: Check unused dependencies + run: mix deps.unlock --check-unused + - name: Check translations + run: mix gettext.extract --check-up-to-date + - name: Check formatting + run: mix format --check-formatted + - name: Check Credo + run: mix credo --strict + - name: Run tests + run: mix test env: CLOAK_ENCRYPTION_KEY: f5ol1dJROsm9yi/tvtHiblN8aLH1FUN/obEvUcASx3U= @@ -77,7 +83,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: superfly/flyctl-actions/setup-flyctl@master - - run: | + - name: Deploy + run: | flyctl deploy --remote-only \ --build-secret FLUXON_LICENSE_KEY=$FLUXON_LICENSE_KEY \ --build-secret FLUXON_KEY_FINGERPRINT=$FLUXON_KEY_FINGERPRINT @@ -96,6 +103,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: gacts/install-hurl@v1 - - run: hurl --test test/prod.hurl + - name: Run production tests + run: hurl --test test/prod.hurl env: HURL_api_token: ${{ secrets.API_TOKEN }}