Skip to content

Commit 63a0fd5

Browse files
committed
chore: refactor workflow slightly
1 parent b796afb commit 63a0fd5

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,19 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@v5
1919

20+
- name: Display Go version
21+
run: go version
22+
2023
- name: Run tests with coverage
2124
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
22-
25+
codecov:
26+
runs-on: ubuntu-latest
27+
needs: test
28+
steps:
2329
- name: Upload coverage to Codecov
2430
uses: codecov/codecov-action@v3
2531
with:
2632
file: ./coverage.txt
27-
fail_ci_if_error: true
2833
release:
2934
runs-on: ubuntu-latest
3035
needs: test

0 commit comments

Comments
 (0)