diff --git a/.github/workflows/code-health-tools.yml b/.github/workflows/code-health-tools.yml index 5ac28e147a..5b1cef1318 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@3041bf56c941b39c61721a86cd11f3bb1338122a + uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 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@3041bf56c941b39c61721a86cd11f3bb1338122a + uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 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@3041bf56c941b39c61721a86cd11f3bb1338122a + uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 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@3041bf56c941b39c61721a86cd11f3bb1338122a + uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 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 c99fb99322..5162722de7 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@3041bf56c941b39c61721a86cd11f3bb1338122a + uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 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 02a3de406f..423fe9dd76 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@3041bf56c941b39c61721a86cd11f3bb1338122a + uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 with: go-version-file: 'tools/cli/go.mod' cache-dependency-path: "tools/cli/go.sum"