Skip to content

chore(deps): update codecov/codecov-action action to v5 #11294

chore(deps): update codecov/codecov-action action to v5

chore(deps): update codecov/codecov-action action to v5 #11294

Workflow file for this run

name: ci
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version:
- "1.21"
- "1.22"
- "1.23"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Go vet
run: go vet ./...
- name: Go build
run: go build ./...
- name: Go test
run: |
go test -v -race \
-coverprofile=coverage.txt -covermode=atomic -coverpkg=all \
$(go list ./... | grep -v "/examples/")
- name: Upload coverage report
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}