Skip to content

Commit 2086714

Browse files
committed
Change Go install
1 parent cb4063d commit 2086714

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

.github/workflows/analysis.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ jobs:
2727
github_token: ${{ secrets.GITHUB_TOKEN }}
2828
fastci_otel_token: ${{ secrets.FASTCI_TOKEN }}
2929

30-
- name: Setup Go with cache
31-
uses: jfrog/.github/actions/install-go-with-cache@main
32-
with:
33-
go-version-file: go.mod
30+
- name: Setup Go
31+
uses: actions/setup-go@v6
3432

3533
- name: Run Go vet
3634
run: go vet -v ./...
@@ -50,10 +48,8 @@ jobs:
5048
github_token: ${{ secrets.GITHUB_TOKEN }}
5149
fastci_otel_token: ${{ secrets.FASTCI_TOKEN }}
5250

53-
- name: Setup Go with cache
54-
uses: jfrog/.github/actions/install-go-with-cache@main
55-
with:
56-
go-version-file: go.mod
51+
- name: Setup Go
52+
uses: actions/setup-go@v6
5753

5854
- name: Run golangci linter
5955
uses: jfrog/.github/actions/golangci-lint@main
@@ -73,10 +69,8 @@ jobs:
7369
github_token: ${{ secrets.GITHUB_TOKEN }}
7470
fastci_otel_token: ${{ secrets.FASTCI_TOKEN }}
7571

76-
- name: Setup Go with cache
77-
uses: jfrog/.github/actions/install-go-with-cache@main
78-
with:
79-
go-version-file: go.mod
72+
- name: Setup Go
73+
uses: actions/setup-go@v6
8074

8175
- name: Run Go-Sec scanner
8276
uses: jfrog/.github/actions/gosec-scanner@main

go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ module github.com/jfrog/jfrog-cli
22

33
go 1.25.7
44

5-
toolchain go1.25.7
6-
75
replace (
86
// Should not be updated to 0.2.6 due to a bug (https://github.com/jfrog/jfrog-cli-core/pull/372)
97
github.com/c-bata/go-prompt => github.com/c-bata/go-prompt v0.2.5

0 commit comments

Comments
 (0)