Skip to content

test: add golangci-lint to pre-commit. #2

test: add golangci-lint to pre-commit.

test: add golangci-lint to pre-commit. #2

Workflow file for this run

name: lint_and_test
on:
push:
jobs:
golangci:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: ^1.20
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v6.0.1
- name: build
run: make build
- name: testing
run: make test