Skip to content

Enable gocritic linter and fix errors #14

Enable gocritic linter and fix errors

Enable gocritic linter and fix errors #14

Workflow file for this run

name: go
on:
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Setup golangci-lint
uses: golangci/golangci-lint-action@v6
unit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run tests
run: make test