Bump up setup-go in CI

This commit is contained in:
Andrei Pohilko
2024-02-20 12:49:33 +00:00
parent 20128d39f3
commit 947c0aa96f
2 changed files with 6 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ jobs:
# Golang part # Golang part
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v3 uses: actions/setup-go@v5
with: with:
go-version: "1.21" go-version: "1.21"
- name: Unit tests - name: Unit tests
@@ -107,11 +107,14 @@ jobs:
- name: make dir for frontend results # don't delete this step, it will break goreleaser - name: make dir for frontend results # don't delete this step, it will break goreleaser
run: mkdir pkg/frontend/dist && touch pkg/frontend/dist/.gitkeep run: mkdir pkg/frontend/dist && touch pkg/frontend/dist/.gitkeep
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: golangci-lint - name: golangci-lint
uses: golangci/golangci-lint-action@v4 uses: golangci/golangci-lint-action@v4
with: with:
# version: latest # version: latest
# skip-go-installation: true
skip-pkg-cache: true skip-pkg-cache: true
skip-build-cache: true skip-build-cache: true
args: --timeout=5m args: --timeout=5m

View File

@@ -33,7 +33,7 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v3 uses: actions/setup-go@v5
with: with:
go-version: "1.21" go-version: "1.21"
- name: git cleanup - name: git cleanup