Skip to content

Commit

Permalink
ci: add linting stage for PR and master
Browse files Browse the repository at this point in the history
  • Loading branch information
lriberon committed Jun 26, 2024
1 parent aab50a0 commit 78f73af
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: golangci-lint
on:
push:
branches:
- master
pull_request:

permissions:
contents: read

jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59

0 comments on commit 78f73af

Please sign in to comment.