Skip to content

Commit

Permalink
chore: upgrade go version from 1.16 to 1.23 (#805)
Browse files Browse the repository at this point in the history
* chore: upgrade go version from 1.16 to 1.23

* upgrade actions/upload-artifact to v4

---------

Co-authored-by: rick <[email protected]>
  • Loading branch information
LinuxSuRen and LinuxSuRen authored Dec 20, 2024
1 parent ef11b0e commit 7f1c402
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Go 1.16
uses: actions/[email protected]
with:
go-version: 1.16
go-version: 1.23
id: go
- uses: actions/[email protected]
- name: Upgrade upx
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Set up Go 1.16
uses: actions/[email protected]
with:
go-version: 1.16
go-version: 1.23
id: go
- name: Check out code into the Go module directory
uses: actions/[email protected]
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Go 1.16
uses: actions/[email protected]
with:
go-version: 1.16
go-version: 1.23
id: go
- name: Check out code into the Go module directory
uses: actions/[email protected]
Expand All @@ -22,12 +22,12 @@ jobs:
with:
args: release --snapshot --clean
- name: Upload Artifact for darwin
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: jcli-darwin-amd64
path: release/jcli-darwin-amd64.tar.gz
- name: Upload Artifact for linux
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: jcli-linux-amd64
path: release/jcli-linux-amd64.tar.gz
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Set up Go 1.16
uses: actions/[email protected]
with:
go-version: 1.16
go-version: 1.23
id: go
- name: Check out code into the Go module directory
uses: actions/[email protected]
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Set up Go 1.16
uses: actions/[email protected]
with:
go-version: 1.16
go-version: 1.23
id: go
- name: Check out code into the Go module directory
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/[email protected]
with:
go-version: 1.16.x
go-version: 1.23.x
- name: Run GoReleaser
uses: goreleaser/[email protected]
with:
Expand Down

0 comments on commit 7f1c402

Please sign in to comment.