Skip to content

Commit

Permalink
Install Go in Lint action
Browse files Browse the repository at this point in the history
  • Loading branch information
hrak committed Feb 7, 2024
1 parent 6ba0f0c commit 281e186
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,25 @@ jobs:
name: Lint
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install Go 1.x
uses: actions/setup-go@v5
with:
go-version: '1.20'

- name: Check out code
uses: actions/checkout@v4

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.53.2
version: v1.53.3
args: --timeout=5m

build:
name: Test & Build
runs-on: ubuntu-20.04
steps:
- name: Setup up Go 1.x
- name: Install Go 1.x
uses: actions/setup-go@v5
with:
go-version: '1.20'
Expand Down

0 comments on commit 281e186

Please sign in to comment.