Skip to content

Support oldstable & stable go versions (#138) #217

Support oldstable & stable go versions (#138)

Support oldstable & stable go versions (#138) #217

Workflow file for this run

---
name: Lint
on:
push:
branches:
- master
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
go: ["oldstable", "stable"]
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Install linter
run: go install honnef.co/go/tools/cmd/staticcheck
- name: Lint
run: staticcheck ./...