Skip to content

Commit a9c1d63

Browse files
authored
Fix test (#3376)
* Update distributionTests.yml * Update oidcTests.yml * Update distributionTests.yml * Update oidcTests.yml * Update frogbot-scan-pull-request.yml
1 parent 66a134a commit a9c1d63

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

.github/workflows/distributionTests.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ jobs:
2424
os: [ubuntu, windows, macos]
2525
runs-on: ${{ matrix.os }}-latest
2626
steps:
27-
- name: Setup Go with cache
28-
uses: jfrog/.github/actions/install-go-with-cache@main
29-
3027
- name: Checkout code
3128
uses: actions/checkout@v5
3229
with:
3330
ref: ${{ github.event.pull_request.head.sha || github.ref }}
31+
32+
- name: Setup Go with cache
33+
uses: jfrog/.github/actions/install-go-with-cache@main
34+
with:
35+
go-version-file: go.mod
3436

3537
- name: Setup FastCI
3638
uses: jfrog-fastci/fastci@v0

.github/workflows/frogbot-scan-pull-request.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,15 @@ jobs:
1212
if: ${{ github.actor != 'dependabot[bot]' }}
1313
runs-on: ubuntu-latest
1414
steps:
15+
- name: Checkout the repository
16+
uses: actions/checkout@v5
17+
with:
18+
ref: ${{ github.event.pull_request.head.sha || github.ref }}
19+
1520
- name: Setup Go with cache
1621
uses: jfrog/.github/actions/install-go-with-cache@main
22+
with:
23+
go-version-file: go.mod
1724

1825
- uses: jfrog/frogbot@v2
1926
env:

.github/workflows/oidcTests.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,15 @@ jobs:
4040
name: OIDC tests (${{ matrix.os.name }})
4141
runs-on: ${{ matrix.os.name }}-${{ matrix.os.version }}
4242
steps:
43-
- name: Setup Go with cache
44-
uses: jfrog/.github/actions/install-go-with-cache@main
45-
4643
- name: Checkout the repository
4744
uses: actions/checkout@v5
4845
with:
4946
ref: ${{ github.event.pull_request.head.sha || github.ref }}
47+
48+
- name: Setup Go with cache
49+
uses: jfrog/.github/actions/install-go-with-cache@main
50+
with:
51+
go-version-file: go.mod
5052

5153
- name: Setup FastCI
5254
uses: jfrog-fastci/fastci@v0

0 commit comments

Comments
 (0)