mirror of
https://github.com/criyle/go-judge.git
synced 2025-11-04 14:50:02 +08:00
github: upgrade action versions
This commit is contained in:
parent
eca512b06f
commit
f716b7a682
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
|||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
-
|
-
|
||||||
name: Set up Go
|
name: Set up Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '1.21'
|
go-version: '1.21'
|
||||||
-
|
-
|
||||||
@ -78,12 +78,12 @@ jobs:
|
|||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
GOARCH: "arm64"
|
GOARCH: "arm64"
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Go 1.21
|
|
||||||
uses: actions/setup-go@v4
|
|
||||||
with:
|
|
||||||
go-version: '1.21'
|
|
||||||
- name: Check out
|
- name: Check out
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- name: Set up Go 1.21
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: '1.21'
|
||||||
- name: Get git tag ref
|
- name: Get git tag ref
|
||||||
run: git fetch --prune --unshallow --tags
|
run: git fetch --prune --unshallow --tags
|
||||||
- name: Restore Cache
|
- name: Restore Cache
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user