Skip to content

Commit 7949e0b

Browse files
authored
Refresh Go toolchain (#46)
## Summary by CodeRabbit - **Chores** - Updated our automation configuration to support the latest runtime versions. - **Tests** - Introduced enhanced testing with code coverage analysis and race detection to improve quality assurance. --------- Signed-off-by: Alessio Treglia <[email protected]>
1 parent f80079b commit 7949e0b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/build.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
test:
1111
strategy:
1212
matrix:
13-
go-version: [1.20.x, 1.21.x, 1.22.x, 1.23.x]
13+
go-version: [1.20.x, 1.21.x, 1.22.x, 1.23.x, 1.24.x]
1414
os: [ubuntu-latest, macos-latest]
1515
runs-on: ${{ matrix.os }}
1616
steps:
@@ -21,6 +21,16 @@ jobs:
2121
- name: Build
2222
run: go build -v ./...
2323
- name: Test
24+
run: go test -race ./...
25+
26+
coverage:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v4
30+
- uses: actions/setup-go@v5
31+
with:
32+
go-version: 'stable'
33+
- name: Coverage
2434
run: go test -race -cover -covermode=atomic -coverprofile=coverage.out ./...
2535
- uses: codecov/codecov-action@v5
2636
with:

0 commit comments

Comments
 (0)