Skip to content

github-actions(deps): bump codecov/codecov-action from 3 to 5 #159

github-actions(deps): bump codecov/codecov-action from 3 to 5

github-actions(deps): bump codecov/codecov-action from 3 to 5 #159

Workflow file for this run

name: build and test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.16
- name: Build
run: go build -v ./...
- name: Test & generate coverage report
run: go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage report
uses: codecov/codecov-action@v5
with:
file: ./coverage.txt