Skip to content

Commit

Permalink
Add lint pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
thmshmm committed Mar 14, 2023
1 parent a813e8c commit a64b177
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: lint
on:
push:
tags:
- v*
branches:
- main
pull_request:
permissions:
contents: read
pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.20'
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.51.2
only-new-issues: true

0 comments on commit a64b177

Please sign in to comment.