Skip to content

Commit 6daeea8

Browse files
authored
chore: migrate to go stable for CI (#5016)
1 parent 19a40b1 commit 6daeea8

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fetch-depth: 2
1919
- uses: actions/setup-go@v5
2020
with:
21-
go-version: '1.24'
21+
go-version: stable
2222
- name: Run coverage
2323
run: go test -coverprofile=coverage.out -covermode=count ./...
2424
- name: Upload coverage to Codecov

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v5
1616
- uses: actions/setup-go@v5
1717
with:
18-
go-version: '1.24'
18+
go-version: stable
1919
- name: Generate code
2020
run: go run ./cmd/scw-doc-gen
2121
env:

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Install Go
5959
uses: actions/setup-go@v5
6060
with:
61-
go-version: 1.24
61+
go-version: stable
6262
- name: Run Acceptance Tests
6363
run: go tool gotestsum --format github-actions -- -v ./internal/namespaces/${{ matrix.products }}/... -timeout=4h
6464
env:
@@ -100,7 +100,7 @@ jobs:
100100
- name: Install Go
101101
uses: actions/setup-go@v5
102102
with:
103-
go-version: 1.24
103+
go-version: stable
104104
- name: Run Sweepers
105105
run: go run -v ./cmd/scw-sweeper
106106
env:

.github/workflows/purge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Install Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: 1.24
19+
go-version: stable
2020
- name: Run Sweepers
2121
run: go run -v ./cmd/scw-sweeper
2222
env:

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up Go
2323
uses: actions/setup-go@v5
2424
with:
25-
go-version: '1.24'
25+
go-version: stable
2626

2727
- name: Verify go.mod is tidy
2828
run: |
@@ -45,7 +45,7 @@ jobs:
4545
- name: Install Go
4646
uses: actions/setup-go@v5
4747
with:
48-
go-version: '1.24'
48+
go-version: stable
4949
- name: Install pnpm
5050
uses: pnpm/action-setup@v4
5151
with:

.github/workflows/unit-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Install Go
2727
uses: actions/setup-go@v5
2828
with:
29-
go-version: '1.24'
29+
go-version: stable
3030
- name: Verify go.mod is tidy
3131
run: |
3232
go mod tidy
@@ -47,7 +47,7 @@ jobs:
4747
- name: Install Go
4848
uses: actions/setup-go@v5
4949
with:
50-
go-version: '1.24'
50+
go-version: stable
5151
- name: Build binaries
5252
run: ./scripts/build.sh
5353
- name: Print binaries size

.github/workflows/wasm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install Go
2020
uses: actions/setup-go@v5
2121
with:
22-
go-version: '1.24'
22+
go-version: stable
2323
- name: Install pnpm
2424
uses: pnpm/action-setup@v4
2525
with:

0 commit comments

Comments
 (0)