Skip to content

Commit

Permalink
chore: use oldstable and stable
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed May 2, 2024
1 parent 063aff9 commit 90fa6ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.20.x, 1.21.x]
go-version: [oldstable, stable]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -17,7 +17,7 @@ jobs:

# Static checks from this point forward. Only run on one Go version and on
# Linux, since it's the fastest platform, and the tools behave the same.
- if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.21.x'
- if: matrix.os == 'ubuntu-latest' && matrix.go-version == 'stable'
run: diff <(echo -n) <(gofmt -s -d .)
- if: matrix.os == 'ubuntu-latest' && matrix.go-version == '1.21.x'
- if: matrix.os == 'ubuntu-latest' && matrix.go-version == 'stable'
run: go vet ./...

0 comments on commit 90fa6ed

Please sign in to comment.