Skip to content

Commit

Permalink
feat(main): upgrade go version to workflow (#49)
Browse files Browse the repository at this point in the history
Signed-off-by: cuisongliu <[email protected]>
  • Loading branch information
cuisongliu authored Oct 16, 2024
1 parent f0474d2 commit afecddf
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
uses: actions/checkout@master

- name: Set up Go
uses: actions/setup-go@master
uses: actions/setup-go@v5
with:
go-version: 1.23.x
go-version-file: go.mod

- name: build
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
uses: actions/checkout@master

- name: Set up Go
uses: actions/setup-go@master
uses: actions/setup-go@v5
with:
go-version: 1.23.x
go-version-file: go.mod

- name: Prepare
id: prepare
Expand Down Expand Up @@ -48,9 +48,9 @@ jobs:
uses: actions/checkout@master

- name: Set up Go
uses: actions/setup-go@master
uses: actions/setup-go@v5
with:
go-version: 1.23.x
go-version-file: go.mod

- name: Verify sealos
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
uses: actions/checkout@master

- name: Set up Go
uses: actions/setup-go@master
uses: actions/setup-go@v5
with:
go-version: 1.23.x
go-version-file: go.mod

- name: Prepare
id: prepare
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
uses: actions/checkout@master

- name: Set up Go
uses: actions/setup-go@master
uses: actions/setup-go@v5
with:
go-version: 1.23.x
go-version-file: go.mod

- name: build
run: |
Expand All @@ -30,9 +30,9 @@ jobs:
uses: actions/checkout@master

- name: Set up Go
uses: actions/setup-go@master
uses: actions/setup-go@v5
with:
go-version: 1.23.x
go-version-file: go.mod

- name: Verify sealos
run: |
Expand All @@ -59,9 +59,9 @@ jobs:
uses: actions/checkout@master

- name: Set up Go
uses: actions/setup-go@master
uses: actions/setup-go@v5
with:
go-version: 1.23.x
go-version-file: go.mod

- name: Verify sealos
run: |
Expand Down

0 comments on commit afecddf

Please sign in to comment.