Skip to content

lint

lint #276

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- uses: actions/setup-go@v2
with:
go-version: '1.21.5'
- name: Run coverage
run: go test -coverprofile=coverage.txt -covermode=atomic ./pkg/...
- name: Upload coverage to Codecov
run: bash <(curl -s https://codecov.io/bash)