From 93b14b00adec63cb3b49fda45487e6589fd368d8 Mon Sep 17 00:00:00 2001 From: Trong Huu Nguyen Date: Mon, 27 Apr 2026 09:35:12 +0200 Subject: [PATCH] ci: parallelize check and test via matrix --- .github/workflows/deploy.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 623e816..8433088 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -9,8 +9,13 @@ env: permissions: contents: read jobs: - test: + verify: + name: ${{ matrix.task }} runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + task: [check, test] steps: - name: Checkout latest code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6 @@ -19,10 +24,9 @@ jobs: with: go-version-file: 'go.mod' - uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # ratchet:jdx/mise-action@v4 - - run: mise run check - - run: mise run test + - run: mise run ${{ matrix.task }} build: - needs: test + needs: verify name: Publish to Google and GitHub registries if: github.ref == 'refs/heads/master' permissions: