Skip to content

Commit

Permalink
golang-ci lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
can3p committed Apr 14, 2024
1 parent b7a4f21 commit 2fa1528
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,18 @@ jobs:

- name: Test
run: go test -v ./...

golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
# from: https://github.com/marketplace/actions/run-golangci-lint
version: latest

0 comments on commit 2fa1528

Please sign in to comment.