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: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
go: ['1.22', '1.23'] go: [stable, oldstable]
os: [macos-latest, windows-latest, ubuntu-latest] os: [macos-latest, windows-latest, ubuntu-latest]
name: build name: build
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}

View file

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

View file

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