Skip to content

Commit f84b4d6

Browse files
committed
github/workflow: upgrade each actions to v3
Signed-off-by: Koichi Shiraishi <[email protected]>
1 parent 061b2e3 commit f84b4d6

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/benchmark.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ jobs:
2929
echo "GO_VERSION=$(echo ${{ matrix.go-version }} | cut -d. -f-2)" >> $GITHUB_ENV
3030
3131
- name: Install Go
32-
uses: actions/setup-go@v2
32+
uses: actions/setup-go@v3
3333
with:
3434
go-version: ${{ matrix.go-version }}
3535

3636
- name: Checkout code
37-
uses: actions/checkout@v2
37+
uses: actions/checkout@v3
3838

3939
- name: Cache Go module and build cache
40-
uses: actions/cache@v2
40+
uses: actions/cache@v3
4141
with:
4242
key: ${{ env.OS }}-go-${{ hashFiles('**/go.sum') }}
4343
path: |
@@ -47,7 +47,7 @@ jobs:
4747
${{ env.OS }}-go-
4848
4949
- name: Cache nvim binary for linux and darwin
50-
uses: actions/cache@v2
50+
uses: actions/cache@v3
5151
id: cache-nvim
5252
with:
5353
key: ${{ env.OS }}-nvim-${{ hashFiles('~/nvim/bin/nvim') }}
@@ -68,7 +68,7 @@ jobs:
6868
go test -v -count=3 -run=none -bench=. -benchmem -timeout=15m ./... | tee bench-${{ env.OS }}-${{ env.GO_VERSION }}.txt
6969
7070
- name: 'Upload benchmark Artifact'
71-
uses: actions/upload-artifact@v2
71+
uses: actions/upload-artifact@v3
7272
with:
7373
name: bench-${{ env.OS }}-${{ env.GO_VERSION }}.txt
7474
path: bench-${{ env.OS }}-${{ env.GO_VERSION }}.txt

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v2
28+
uses: actions/checkout@v3
2929

3030
- name: Initialize CodeQL
3131
uses: github/codeql-action/init@v1

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ jobs:
4444
echo "NVIM_VERSION=$(if [ ${{ matrix.neovim-version }} != 'nightly' ]; then echo 'stable'; else echo 'nightly'; fi)" >> $GITHUB_ENV
4545
4646
- name: Install Go
47-
uses: actions/setup-go@v2
47+
uses: actions/setup-go@v3
4848
with:
4949
go-version: ${{ matrix.go-version }}
5050

5151
- name: Checkout code
52-
uses: actions/checkout@v2
52+
uses: actions/checkout@v3
5353

5454
- name: Cache Go module and build cache
55-
uses: actions/cache@v2
55+
uses: actions/cache@v3
5656
with:
5757
key: go-${{ env.OS }}-${{ hashFiles('**/go.mod') }}
5858
path: |

0 commit comments

Comments
 (0)