Skip to content

Fix typos, add golanci-lint check and CI step #2

Fix typos, add golanci-lint check and CI step

Fix typos, add golanci-lint check and CI step #2

Workflow file for this run

---
name: Build and test
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Build
run: go build -v ./
- name: Test
run: go test -v ./ -race
lint:
runs-on: ubuntu-latest
steps:
- name: "Run golangci-lint"
uses: golangci/golangci-lint-action@v3