chore: use stable and olstable instead of explicit versions

This commit is contained in:
Fernandez Ludovic 2025-01-17 00:51:39 +01:00 committed by Gabriel Augendre
parent 12e5409dea
commit ed135bb8e7
3 changed files with 4 additions and 2 deletions

View file

@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: ['1.22', '1.23']
go: [stable, oldstable]
os: [macos-latest, windows-latest, ubuntu-latest]
name: build
runs-on: ${{ matrix.os }}

View file

@ -16,7 +16,7 @@ jobs:
golangci:
strategy:
matrix:
go: ['1.22', '1.23']
go: [stable, oldstable]
name: lint
runs-on: ubuntu-latest
steps:

View file

@ -17,6 +17,8 @@ jobs:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with: