Skip to content

Commit 7f1c402

Browse files
authored
chore: upgrade go version from 1.16 to 1.23 (#805)
* chore: upgrade go version from 1.16 to 1.23 * upgrade actions/upload-artifact to v4 --------- Co-authored-by: rick <[email protected]>
1 parent ef11b0e commit 7f1c402

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/backup.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Go 1.16
1414
uses: actions/[email protected]
1515
with:
16-
go-version: 1.16
16+
go-version: 1.23
1717
id: go
1818
- uses: actions/[email protected]
1919
- name: Upgrade upx
@@ -45,7 +45,7 @@ jobs:
4545
- name: Set up Go 1.16
4646
uses: actions/[email protected]
4747
with:
48-
go-version: 1.16
48+
go-version: 1.23
4949
id: go
5050
- name: Check out code into the Go module directory
5151
uses: actions/[email protected]

.github/workflows/pull-request.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Go 1.16
1414
uses: actions/[email protected]
1515
with:
16-
go-version: 1.16
16+
go-version: 1.23
1717
id: go
1818
- name: Check out code into the Go module directory
1919
uses: actions/[email protected]
@@ -22,12 +22,12 @@ jobs:
2222
with:
2323
args: release --snapshot --clean
2424
- name: Upload Artifact for darwin
25-
uses: actions/upload-artifact@v2
25+
uses: actions/upload-artifact@v4
2626
with:
2727
name: jcli-darwin-amd64
2828
path: release/jcli-darwin-amd64.tar.gz
2929
- name: Upload Artifact for linux
30-
uses: actions/upload-artifact@v2
30+
uses: actions/upload-artifact@v4
3131
with:
3232
name: jcli-linux-amd64
3333
path: release/jcli-linux-amd64.tar.gz
@@ -38,7 +38,7 @@ jobs:
3838
- name: Set up Go 1.16
3939
uses: actions/[email protected]
4040
with:
41-
go-version: 1.16
41+
go-version: 1.23
4242
id: go
4343
- name: Check out code into the Go module directory
4444
uses: actions/[email protected]
@@ -96,7 +96,7 @@ jobs:
9696
- name: Set up Go 1.16
9797
uses: actions/[email protected]
9898
with:
99-
go-version: 1.16
99+
go-version: 1.23
100100
id: go
101101
- name: Check out code into the Go module directory
102102
uses: actions/[email protected]

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/[email protected]
1818
with:
19-
go-version: 1.16.x
19+
go-version: 1.23.x
2020
- name: Run GoReleaser
2121
uses: goreleaser/[email protected]
2222
with:

0 commit comments

Comments
 (0)