Skip to content

ci: add workflow with unit tests and lint #2

ci: add workflow with unit tests and lint

ci: add workflow with unit tests and lint #2

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Unit tests
run: |
CGO_ENABLED=0 go test ./...
CGO_ENABLED=1 go test ./...
- name: Lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.57.2