Skip to content

Commit

Permalink
Add Linter for Go code.
Browse files Browse the repository at this point in the history
  • Loading branch information
awalsh128 committed Nov 27, 2023
1 parent 189ae35 commit 3b5900e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
pull_request:
types: [opened, synchronize]

permissions:
contents: read

jobs:
build_test:
runs-on: ubuntu-latest
Expand All @@ -14,7 +17,10 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: 1.20

- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
- name: Build and test
run: |
go build -v
Expand Down

0 comments on commit 3b5900e

Please sign in to comment.