Skip to content

chore(deps): update golangci/golangci-lint-action action to v4 #25

chore(deps): update golangci/golangci-lint-action action to v4

chore(deps): update golangci/golangci-lint-action action to v4 #25

Workflow file for this run

# This workflow run tests.
# It is supposed to be run on each push to main branch, as well as for each.
name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ '*' ]
permissions:
contents: read
jobs:
tests:
name: Run tests and upload coverage report
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-go@v5
with:
go-version: '1.20'
cache: false
- run: |
go test -race -covermode=atomic -coverprofile=coverage.out
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}