Skip to content

Commit a1ae299

Browse files
committed
PMM-14442 Use proper version of Go
1 parent a28c448 commit a1ae299

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/clean.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,7 @@ jobs:
1212
name: Clean caches
1313
timeout-minutes: 5
1414

15-
strategy:
16-
fail-fast: false
17-
matrix:
18-
go:
19-
- version: 1.24.x
20-
may-fail: false
21-
22-
continue-on-error: ${{ matrix.go.may-fail }}
15+
continue-on-error: false
2316
runs-on: ubuntu-22.04
2417

2518
env:
@@ -31,15 +24,15 @@ jobs:
3124
ROBOT_TOKEN: ${{ secrets.ROBOT_TOKEN }}
3225
run: echo "machine github.com login percona-robot password ${{ secrets.ROBOT_TOKEN }}" > $HOME/.netrc
3326

34-
- name: Set up Go release
27+
- name: Set up Go
3528
env:
3629
# to avoid error due to `go version` accepting -v flag with an argument since 1.15
3730
GOFLAGS: ""
3831
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
3932
with:
40-
go-version: ${{ matrix.go.version }}
33+
go-version-file: ${{ github.workspace }}/go.mod
4134

42-
- name: Check out code into the Go module directory
35+
- name: Check out code
4336
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
4437
with:
4538
lfs: true

0 commit comments

Comments
 (0)