mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-26 14:28:04 +00:00
Bump up setup-go in CI
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -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
|
||||||
|
|||||||
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user