Skip to content

Commit f6b0ae6

Browse files
author
YN
committed
Updated Github Actions config
1 parent 7c39621 commit f6b0ae6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/linters.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
lint:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515

1616
- name: Set up Go
17-
uses: actions/setup-go@v2
17+
uses: actions/setup-go@v5
1818
with:
19-
go-version: 1.16
19+
go-version-file: go.mod
2020

2121
- name: Run linters
2222
uses: golangci/golangci-lint-action@v2

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
test:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 2
1717

1818
- name: Set up Go
19-
uses: actions/setup-go@v2
19+
uses: actions/setup-go@v5
2020
with:
21-
go-version: 1.16
21+
go-version-file: go.mod
2222

2323
- name: Build
2424
run: go build -v ./...
@@ -27,9 +27,9 @@ jobs:
2727
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
2828

2929
- name: Upload coverage report
30-
uses: codecov/codecov-action@v1
30+
uses: codecov/codecov-action@v5
3131
with:
3232
token: ${{ secrets.CODECOV_TOKEN }}
33-
file: ./coverage.txt
33+
files: ./coverage.txt
3434
flags: unittests
3535
name: codecov-umbrella

0 commit comments

Comments
 (0)