Skip to content

Commit 7e78700

Browse files
authored
ci: update action versions in workflows (#110)
1 parent f0ece34 commit 7e78700

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
go-version: [1.18.x, 1.20.x]
16+
go-version: [1.18.x, 1.21.x]
1717
steps:
1818
- name: Setup Go
19-
uses: actions/setup-go@v4
19+
uses: actions/setup-go@v5
2020
with:
2121
go-version: ${{ matrix.go-version }}
2222

2323
- name: Checkout code
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525

2626
- name: Run coverage
27-
run: go test ./... -coverprofile=coverage.out -covermode=atomic
27+
run: go test -race ./... -coverprofile=coverage.out -covermode=atomic
2828

2929
- name: Upload coverage to Codecov
3030
if: ${{ matrix.go-version == '1.18.x' }}

.github/workflows/golangci-lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: golangci-lint
1717
uses: golangci/golangci-lint-action@v3

0 commit comments

Comments
 (0)