Skip to content

Bump codecov/codecov-action from 3 to 5 (#27) #99

Bump codecov/codecov-action from 3 to 5 (#27)

Bump codecov/codecov-action from 3 to 5 (#27) #99

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.20'
cache: true
- uses: golangci/golangci-lint-action@v5
- run: go build -v ./...
- name: Test and Generate Coverage
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload Coverage Report
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}