Skip to content

Commit 796c8d2

Browse files
committed
chore: update github workflows
Signed-off-by: Lan <[email protected]>
1 parent a8c88ed commit 796c8d2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/e2e-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
e2e:
1212
name: e2e test
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-latest
1414
steps:
1515
- name: checkout code
1616
uses: actions/checkout@v4
@@ -19,7 +19,7 @@ jobs:
1919
- name: install Go
2020
uses: actions/setup-go@v5
2121
with:
22-
go-version: 1.23
22+
go-version-file: go.mod
2323

2424
- name: Prepare the test oci registry
2525
run: |

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v5
2020
with:
21-
go-version: 1.23
21+
go-version-file: go.mod
2222
- name: Run GoReleaser
2323
uses: goreleaser/goreleaser-action@v6
2424
with:

.github/workflows/test-win.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Go
2121
uses: actions/setup-go@v5
2222
with:
23-
go-version: 1.23
23+
go-version-file: go.mod
2424

2525
- name: Install Chocolatey and make
2626
run: |

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Go
2222
uses: actions/setup-go@v5
2323
with:
24-
go-version: 1.23
24+
go-version-file: go.mod
2525

2626
- run: go build ./...
2727
- run: go vet ./...

0 commit comments

Comments
 (0)