Skip to content

Commit

Permalink
Github: Add linter
Browse files Browse the repository at this point in the history
  • Loading branch information
gnoack committed Jan 19, 2024
1 parent 0267bd0 commit d8ec290
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Lint
on: [push, pull_request]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
- name: Vet
run: go vet ./...
- name: Staticcheck
uses: dominikh/[email protected]
with:
version: "2022.1.3"

0 comments on commit d8ec290

Please sign in to comment.