Skip to content

Commit

Permalink
simplify go versions used for ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulait committed Nov 26, 2024
1 parent e4fe108 commit 6374f4e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,15 @@ jobs:
filters: .github/filters.yml
ci:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ 'stable', '1.22' ]
needs: changes
if: ${{ contains(fromJSON(needs.changes.outputs.paths), 'src') }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
go-version-file: go.mod
- name: Vet
run: make vet
- name: Lint
Expand All @@ -47,7 +46,7 @@ jobs:
- name: Test
run: make test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
files: ./coverage.out
fail_ci_if_error: true
Expand Down

0 comments on commit 6374f4e

Please sign in to comment.