mirror of
https://github.com/emmansun/gmsm.git
synced 2025-05-13 20:46:17 +08:00
upgrade github actions
This commit is contained in:
parent
74f18edc53
commit
2c3b759652
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -15,10 +15,10 @@ jobs:
|
|||||||
goVer: ['1.15', '1.16', '1.17']
|
goVer: ['1.15', '1.16', '1.17']
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.goVer }}
|
go-version: ${{ matrix.goVer }}
|
||||||
|
|
||||||
@ -28,7 +28,7 @@ jobs:
|
|||||||
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Module cache
|
- name: Module cache
|
||||||
uses: actions/cache@v2.1.7
|
uses: actions/cache@v3
|
||||||
env:
|
env:
|
||||||
cache-name: go-mod-cache
|
cache-name: go-mod-cache
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user