Skip to content

chore(deps): bump golangci/golangci-lint-action from 4 to 6 #135

chore(deps): bump golangci/golangci-lint-action from 4 to 6

chore(deps): bump golangci/golangci-lint-action from 4 to 6 #135

Workflow file for this run

name: Test and coverage
on:
push:
paths:
- '**.go'
branches:
- master
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.19
- name: go get
run: go get ./...
- name: go mod tidy
run: go mod tidy
- name: Run coverage
run: go test -v -race -coverprofile="coverage.out" -covermode=atomic ./...
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)