Skip to content

Commit f17be8c

Browse files
committed
github/workflows: update test workflow
Signed-off-by: Koichi Shiraishi <[email protected]>
1 parent dd77a91 commit f17be8c

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/test.yml renamed to .github/workflows/test.yaml

+10-8
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,16 @@ jobs:
2020
strategy:
2121
matrix:
2222
os:
23-
- ubuntu-22.04 # https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md
23+
- ubuntu-22.04 # https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
2424
- macos-13 # https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md
25-
- windows-2022 # https://github.com/actions/runner-images/blob/main/images/win/Windows2022-Readme.md
25+
- macos-14 # https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md
26+
- windows-2022 # https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
2627
go-version:
27-
- 1.18.x
28-
- 1.19.x
2928
- 1.20.x
29+
- 1.21.x
30+
- 1.22.x
3031
neovim-version:
31-
- v0.9.1
32+
- v0.9.5
3233
- nightly
3334
fail-fast: false
3435

@@ -42,12 +43,13 @@ jobs:
4243
echo "NVIM_VERSION=$(if [ ${{ matrix.neovim-version }} != 'nightly' ]; then echo 'stable'; else echo 'nightly'; fi)" >> $GITHUB_ENV
4344
4445
- name: Install Go
45-
uses: actions/setup-go@v3
46+
uses: actions/setup-go@v5
4647
with:
4748
go-version: ${{ matrix.go-version }}
49+
check-latest: true
4850

4951
- name: Checkout code
50-
uses: actions/checkout@v3
52+
uses: actions/checkout@v4
5153

5254
- name: Install neovim binary
5355
uses: rhysd/action-setup-vim@v1
@@ -63,7 +65,7 @@ jobs:
6365
run: |
6466
go test -v -race -count=1 -covermode=atomic -coverpkg=./... -coverprofile=coverage.out ./...
6567
66-
- uses: codecov/codecov-action@v3
68+
- uses: codecov/codecov-action@v4
6769
with:
6870
file: coverage.out
6971
flags: ${{ env.OS }}-${{ env.GO_VERSION }}-${{ env.NVIM_VERSION }}

0 commit comments

Comments
 (0)