Skip to content

Commit

Permalink
[CI] Update steup-go.
Browse files Browse the repository at this point in the history
Signed-off-by: Juri Berlanda <[email protected]>
  • Loading branch information
j-be committed Dec 22, 2024
1 parent 1d67334 commit ed6e063
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,16 @@ name: Test
on:
push:

env:
GO_VERSION: "1.22"

jobs:
golangci:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3

- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: 'go.mod'
cache: false

- name: golangci-lint
Expand All @@ -31,10 +28,9 @@ jobs:
- name: Check out code
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: 'go.mod'

- name: Test
run: make test
Expand Down

0 comments on commit ed6e063

Please sign in to comment.