Skip to content

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

chore(CI): add golangci-lint for PRs

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

Workflow file for this run

name: go 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: Run Unit Tests
run: |
go test -v