From 6da733bde82c7092451a55f28943929337a3b286 Mon Sep 17 00:00:00 2001 From: Venktesh Shivam Patel Date: Wed, 8 Oct 2025 16:21:17 +0100 Subject: [PATCH 1/2] use go.mod version --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9afe2503..d68253b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,8 +34,6 @@ jobs: contents: read strategy: fail-fast: false - matrix: - go-version: ["1.22", "1.23", stable] steps: - name: Checkout Repository uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 @@ -43,7 +41,7 @@ jobs: - name: Setup Golang Environment uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 with: - go-version: ${{ matrix.go-version }} + go-version-file: go.mod - name: Run Unit Tests run: make unit-test @@ -102,7 +100,7 @@ jobs: - name: Setup Golang Environment uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 with: - go-version: stable + go-version-file: go.mod if: ${{ github.ref_type == 'tag' }} - name: Run GoReleaser From 988c8e8ec2287d7caa57b3ef96343bec62e9ecf0 Mon Sep 17 00:00:00 2001 From: Venktesh Shivam Patel Date: Thu, 9 Oct 2025 11:47:14 +0100 Subject: [PATCH 2/2] remove strategy --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d68253b4..73fe03f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,8 +32,6 @@ jobs: runs-on: ubuntu-24.04 permissions: contents: read - strategy: - fail-fast: false steps: - name: Checkout Repository uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0