diff --git a/.github/workflows/code-health-tools.yml b/.github/workflows/code-health-tools.yml index b2a7249be7..5ac28e147a 100644 --- a/.github/workflows/code-health-tools.yml +++ b/.github/workflows/code-health-tools.yml @@ -19,7 +19,7 @@ jobs: - name: Checkout CLI uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - name: Install Go - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed + uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version-file: 'tools/cli/go.mod' - name: Build CLI @@ -40,7 +40,7 @@ jobs: - name: Checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - name: Install Go - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed + uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version-file: 'tools/cli/go.mod' - name: Run unit tests @@ -88,7 +88,7 @@ jobs: run: | npm run lint-js - name: Install Go - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed + uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version-file: 'tools/cli/go.mod' cache: false # see https://github.com/golangci/golangci-lint-action/issues/807 @@ -118,7 +118,7 @@ jobs: - name: Checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - name: Install Go - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed + uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version-file: 'tools/cli/go.mod' - name: Run e2e tests diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml index 79aaef6e4e..c99fb99322 100644 --- a/.github/workflows/release-cli.yml +++ b/.github/workflows/release-cli.yml @@ -60,7 +60,7 @@ jobs: with: ref: ${{ inputs.version_number }} - name: Set up Go - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed + uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version-file: 'tools/cli/go.mod' - name: Run GoReleaser diff --git a/.github/workflows/required-spec-validations.yml b/.github/workflows/required-spec-validations.yml index d03f9f592c..02a3de406f 100644 --- a/.github/workflows/required-spec-validations.yml +++ b/.github/workflows/required-spec-validations.yml @@ -42,7 +42,7 @@ jobs: SPECTRAL_VERSION: ${{ inputs.spectral_version }} run: npx -- @stoplight/spectral-cli@"${SPECTRAL_VERSION}" lint openapi-foas.yaml --ruleset=tools/spectral/.spectral.yaml - name: Install Go - uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed + uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a with: go-version-file: 'tools/cli/go.mod' cache-dependency-path: "tools/cli/go.sum"