Skip to content

Commit

Permalink
Usa oldstable and stable aliases
Browse files Browse the repository at this point in the history
Since actions/setup-go v3, we can use oldstable and
stable aliases to always refer to the two latest supported
versions of Go.

Signed-off-by: Aitor Perez Cedres <[email protected]>
  • Loading branch information
Zerpet committed Sep 12, 2023
1 parent 329b4bc commit 21d0c14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.21'
go-version: 'stable'
check-latest: true
- uses: actions/checkout@v3
- uses: golangci/golangci-lint-action@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: true
matrix:
go-version: ['1.20', '1.21']
go-version: ['oldstable', 'stable']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand All @@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.20', '1.21']
go-version: ['oldstable', 'stable']
services:
rabbitmq:
image: rabbitmq
Expand Down

0 comments on commit 21d0c14

Please sign in to comment.