Skip to content

Commit

Permalink
Install Go in Lint action
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Rakers <h.rakers@global.leaseweb.com>
  • Loading branch information
hrak committed Feb 7, 2024
1 parent 6ba0f0c commit 4399c8e
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,22 @@ jobs:
name: Lint
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
- name: Install Go 1.x
uses: actions/setup-go@v5
with:
version: v1.53.2
args: --timeout=5m
go-version: '1.20'

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

- name: Run unit tests
run: make lint

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 4399c8e

Please sign in to comment.