Skip to content

Commit

Permalink
Merge pull request #1 from ashmrtn/add-linting
Browse files Browse the repository at this point in the history
Add a lint action for pull requests
  • Loading branch information
ashmrtn authored Jan 30, 2024
2 parents 5981fce + 6d9e34b commit d225f9d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: lint
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2

0 comments on commit d225f9d

Please sign in to comment.