Skip to content

chore(CI): add golangci-lint for PRs #3

chore(CI): add golangci-lint for PRs

chore(CI): add golangci-lint for PRs #3

Workflow file for this run

name: Lint and Test
on:
push:
branches:
- master
pull_request:
jobs:
run-tests:
name: unit-tests
strategy:
matrix:
go-version: [1.18, 1.22]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60
- name: Run Unit Tests
run: |
go test