Skip to content

Commit

Permalink
set explicit stable version
Browse files Browse the repository at this point in the history
  • Loading branch information
mloiseleur committed Feb 19, 2024
1 parent 9358f34 commit c421c35
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Main Process
runs-on: ubuntu-latest
env:
GO_VERSION: stable
GO_VERSION: '1.22.x'
GOLANGCI_LINT_VERSION: v1.56.2
CGO_ENABLED: 0

Expand All @@ -23,6 +23,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
check-latest: true

# https://github.com/marketplace/actions/checkout
- name: Check out code
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/go-cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
go-version: [ stable, oldstable ]
go-version: [ '1.22.x', '1.21.x' ]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand All @@ -25,6 +25,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
check-latest: true

# https://github.com/marketplace/actions/checkout
- name: Checkout code
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Release Process
runs-on: ubuntu-latest
env:
GO_VERSION: stable
GO_VERSION: '1.22.x'
CGO_ENABLED: 0

steps:
Expand All @@ -19,6 +19,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
check-latest: true

# https://github.com/marketplace/actions/checkout
- name: Check out code
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/traefik/mocktail

go 1.22
go 1.21

require (
github.com/ettle/strcase v0.2.0
Expand Down

0 comments on commit c421c35

Please sign in to comment.