Skip to content

Linter added

Linter added #5

Workflow file for this run

name: Test
on:
push:
branches:
- main
- master
pull_request:
jobs:
build:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22.0'
- name: Run Tests
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
file: coverage.txt
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}