Skip to content

Commit

Permalink
Linting action
Browse files Browse the repository at this point in the history
  • Loading branch information
NickFoden committed Jan 4, 2025
1 parent afd79d9 commit b2b1480
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/go-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Go Lint

on:
pull_request:
branches: [main]

jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22"

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
args: --timeout 5m
version: v1.60

0 comments on commit b2b1480

Please sign in to comment.