Skip to content

Commit

Permalink
Checkout Go before running lint (#26)
Browse files Browse the repository at this point in the history
Copied the other workflow steps.

Signed-off-by: Charlie Le <[email protected]>
  • Loading branch information
CharlieTLe authored and friedrichg committed May 9, 2024
1 parent 42bed11 commit 43df184
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/validate_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@ name: Validate PR
on:
pull_request:
paths-ignore:
- 'docs/**'
- '*.md'
- "docs/**"
- "*.md"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
- name: Set up Go 1.16
uses: actions/setup-go@v1
with:
go-version: 1.16
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down

0 comments on commit 43df184

Please sign in to comment.