Skip to content

Commit

Permalink
Merge pull request #1 from reegnz/add_golangci-lint_action
Browse files Browse the repository at this point in the history
chore(actions): add golangci-lint action
  • Loading branch information
hercynium authored Sep 20, 2024
2 parents a44009f + e00260b commit d650ff1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: golangci-lint
on:
push:
branches:
- main
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: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.61

0 comments on commit d650ff1

Please sign in to comment.