Skip to content

Update golangci-lint.yml #92

Update golangci-lint.yml

Update golangci-lint.yml #92

Workflow file for this run

name: golang
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
matrix:
go-version: ['1.19']
os: [ubuntu-latest, macos-latest, windows-latest]
env:
CGO_ENABLED: 0
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- uses: actions/checkout@v3
- run: go build ./...
- run: go vet ./...