diff --git a/.github/workflows/distributionTests.yml b/.github/workflows/distributionTests.yml index 04b2b73c0..a9713d1a6 100644 --- a/.github/workflows/distributionTests.yml +++ b/.github/workflows/distributionTests.yml @@ -24,13 +24,15 @@ jobs: os: [ubuntu, windows, macos] runs-on: ${{ matrix.os }}-latest steps: - - name: Setup Go with cache - uses: jfrog/.github/actions/install-go-with-cache@main - - name: Checkout code uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + + - name: Setup Go with cache + uses: jfrog/.github/actions/install-go-with-cache@main + with: + go-version-file: go.mod - name: Setup FastCI uses: jfrog-fastci/fastci@v0 diff --git a/.github/workflows/frogbot-scan-pull-request.yml b/.github/workflows/frogbot-scan-pull-request.yml index 0200f903b..a5439f85b 100644 --- a/.github/workflows/frogbot-scan-pull-request.yml +++ b/.github/workflows/frogbot-scan-pull-request.yml @@ -12,8 +12,15 @@ jobs: if: ${{ github.actor != 'dependabot[bot]' }} runs-on: ubuntu-latest steps: + - name: Checkout the repository + uses: actions/checkout@v5 + with: + ref: ${{ github.event.pull_request.head.sha || github.ref }} + - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main + with: + go-version-file: go.mod - uses: jfrog/frogbot@v2 env: diff --git a/.github/workflows/oidcTests.yml b/.github/workflows/oidcTests.yml index 3e0977da9..64bbb5ab4 100644 --- a/.github/workflows/oidcTests.yml +++ b/.github/workflows/oidcTests.yml @@ -40,13 +40,15 @@ jobs: name: OIDC tests (${{ matrix.os.name }}) runs-on: ${{ matrix.os.name }}-${{ matrix.os.version }} steps: - - name: Setup Go with cache - uses: jfrog/.github/actions/install-go-with-cache@main - - name: Checkout the repository uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.sha || github.ref }} + + - name: Setup Go with cache + uses: jfrog/.github/actions/install-go-with-cache@main + with: + go-version-file: go.mod - name: Setup FastCI uses: jfrog-fastci/fastci@v0