Skip to content

Commit 2b66aa5

Browse files
authored
Use go-version alias for setup-go actions (#1218)
1 parent 4de3a86 commit 2b66aa5

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup Go
3232
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
3333
with:
34-
go-version: "~1.25.0"
34+
go-version: stable
3535
check-latest: true
3636
- name: Cache Go
3737
id: go-cache

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ permissions:
99
env:
1010
# Path to where test results will be saved.
1111
TEST_RESULTS: /tmp/test-results
12-
# Default minimum version of Go to support.
13-
DEFAULT_GO_VERSION: "~1.24.0"
1412
jobs:
1513
lint:
1614
strategy:
@@ -21,7 +19,7 @@ jobs:
2119
- name: Install Go
2220
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
2321
with:
24-
go-version: ${{ env.DEFAULT_GO_VERSION }}
22+
go-version: oldstable
2523
check-latest: true
2624

2725
- name: Checkout Repo
@@ -74,7 +72,7 @@ jobs:
7472
- name: Install Go
7573
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
7674
with:
77-
go-version: ${{ env.DEFAULT_GO_VERSION }}
75+
go-version: oldstable
7876
check-latest: true
7977

8078
- name: Checkout Repo
@@ -102,7 +100,7 @@ jobs:
102100
- name: Install Go
103101
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
104102
with:
105-
go-version: ${{ env.DEFAULT_GO_VERSION }}
103+
go-version: oldstable
106104
check-latest: true
107105

108106
- name: Checkout Repo

0 commit comments

Comments
 (0)