Skip to content

Commit

Permalink
add golangci lint github action
Browse files Browse the repository at this point in the history
  • Loading branch information
wind0r committed Oct 19, 2022
1 parent 744ce20 commit 5f9078b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Run golangci lint

on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3

0 comments on commit 5f9078b

Please sign in to comment.