Skip to content

GitHub actions upgrade #35

GitHub actions upgrade

GitHub actions upgrade #35

Workflow file for this run

name: Tests coverage
on: [ "push", "pull_request" ]
jobs:
build:
name: Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go 1.21
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Run tests with coverage
run: go test -v -coverprofile=coverage.txt -covermode=atomic ./...
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true