Skip to content

Commit

Permalink
Move Go setup after checkout in CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
swiatekm committed Jan 11, 2024
1 parent 185a95c commit b118d0f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,28 @@ jobs:
name: Unit tests
runs-on: ubuntu-22.04
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "~1.21.1"

- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: "basic checks"
run: make ci

lint:
name: Code standards (linting)
runs-on: ubuntu-22.04
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "~1.21.1"
- name: Check out code into the Go module directory
uses: actions/checkout@v4

- uses: actions/cache@v3
with:
Expand Down

0 comments on commit b118d0f

Please sign in to comment.