Skip to content

Bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 #33

Bump golangci/golangci-lint-action from 4.0.0 to 5.1.0

Bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 #33

Workflow file for this run

name: Test and coverage
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run coverage
run: go test ./... -race -coverprofile=coverage.out -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
if: success() || failure()
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
files: ./coverage.out
move_coverage_to_trash: true