From 8b33d3c96c32bc9032be73891db7135f7ef30c63 Mon Sep 17 00:00:00 2001 From: Eric Willhoit Date: Mon, 26 Oct 2026 16:31:44 -0500 Subject: [PATCH] chore: use check-latest everywhere --- .github/workflows/build-docker-slim.yml | 1 + .github/workflows/create-cli-release.yml | 1 + .github/workflows/jit-install-smoke.yml | 2 ++ .github/workflows/just-nut.yml | 1 + .github/workflows/make-pr-for-nightly.yml | 1 + .github/workflows/make-pr-for-release.yml | 1 + .github/workflows/promote-nightly-to-rc.yml | 1 + .github/workflows/promote-rc-to-latest.yml | 1 + .github/workflows/promote.yml | 2 ++ .github/workflows/test.yml | 1 + 10 files changed, 12 insertions(+) diff --git a/.github/workflows/build-docker-slim.yml b/.github/workflows/build-docker-slim.yml index 4d90e4dbc..9b15d6d8e 100644 --- a/.github/workflows/build-docker-slim.yml +++ b/.github/workflows/build-docker-slim.yml @@ -21,6 +21,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: ${{ vars.NODE_VERSION_OVERRIDE || 'lts/*' }} + check-latest: true cache: yarn # for whatever version got passed in, we need the download url for the linux xz tarball diff --git a/.github/workflows/create-cli-release.yml b/.github/workflows/create-cli-release.yml index e7c8190f6..5bb7bbe3f 100644 --- a/.github/workflows/create-cli-release.yml +++ b/.github/workflows/create-cli-release.yml @@ -84,6 +84,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: ${{ vars.NODE_VERSION_OVERRIDE || 'lts/*' }} + check-latest: true cache: npm - name: Install plugin-release-management diff --git a/.github/workflows/jit-install-smoke.yml b/.github/workflows/jit-install-smoke.yml index 50624aa0f..b7edac5dd 100644 --- a/.github/workflows/jit-install-smoke.yml +++ b/.github/workflows/jit-install-smoke.yml @@ -12,6 +12,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: ${{ vars.NODE_VERSION_OVERRIDE || 'lts/*' }} + check-latest: true cache: yarn - run: yarn install - run: yarn build @@ -55,6 +56,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: ${{ vars.NODE_VERSION_OVERRIDE || 'lts/*' }} + check-latest: true - uses: salesforcecli/github-workflows/.github/actions/yarnInstallWithRetries@main with: diff --git a/.github/workflows/just-nut.yml b/.github/workflows/just-nut.yml index cb0ea5a14..64d2ee471 100644 --- a/.github/workflows/just-nut.yml +++ b/.github/workflows/just-nut.yml @@ -97,6 +97,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: ${{ vars.NODE_VERSION_OVERRIDE || 'lts/*' }} + check-latest: true # cache: yarn - name: Install CLI uses: salesforcecli/github-workflows/.github/actions/retry@main diff --git a/.github/workflows/make-pr-for-nightly.yml b/.github/workflows/make-pr-for-nightly.yml index 2b25847a4..3aee66db8 100644 --- a/.github/workflows/make-pr-for-nightly.yml +++ b/.github/workflows/make-pr-for-nightly.yml @@ -31,6 +31,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ vars.NODE_VERSION_OVERRIDE || 'lts/*' }} + check-latest: true - name: Look up sf latest-rc version uses: salesforcecli/github-workflows/.github/actions/versionInfo@main diff --git a/.github/workflows/make-pr-for-release.yml b/.github/workflows/make-pr-for-release.yml index fb4231511..b2e22962c 100644 --- a/.github/workflows/make-pr-for-release.yml +++ b/.github/workflows/make-pr-for-release.yml @@ -48,6 +48,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: ${{ vars.NODE_VERSION_OVERRIDE || 'lts/*' }} + check-latest: true - run: npm install -g @salesforce/plugin-release-management --omit=dev diff --git a/.github/workflows/promote-nightly-to-rc.yml b/.github/workflows/promote-nightly-to-rc.yml index 406917c6d..6c3392668 100644 --- a/.github/workflows/promote-nightly-to-rc.yml +++ b/.github/workflows/promote-nightly-to-rc.yml @@ -37,6 +37,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: ${{ vars.NODE_VERSION_OVERRIDE || 'lts/*' }} + check-latest: true cache: yarn - name: Verify promote scripts diff --git a/.github/workflows/promote-rc-to-latest.yml b/.github/workflows/promote-rc-to-latest.yml index 6741ab921..91887cbd5 100644 --- a/.github/workflows/promote-rc-to-latest.yml +++ b/.github/workflows/promote-rc-to-latest.yml @@ -34,6 +34,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: ${{ vars.NODE_VERSION_OVERRIDE || 'lts/*' }} + check-latest: true cache: yarn - name: Verify promote scripts diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index eebc79f5b..d6ca826a5 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -172,6 +172,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: ${{ vars.NODE_VERSION_OVERRIDE || 'lts/*' }} + check-latest: true - name: Upgrade npm for trusted publishing # dist-tag with Trusted publishing (OIDC) requires npm >= 11.21.0, newer than the npm bundled with Node LTS. run: npm install -g npm@latest @@ -191,6 +192,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: ${{ vars.NODE_VERSION_OVERRIDE || 'lts/*' }} + check-latest: true cache: yarn - uses: salesforcecli/github-workflows/.github/actions/yarnInstallWithRetries@main diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bd1023a2e..65e71a1d5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,6 +36,7 @@ jobs: - uses: actions/setup-node@v4 with: node-version: ${{ vars.NODE_VERSION_OVERRIDE || 'lts/*' }} + check-latest: true cache: yarn - run: yarn install - run: yarn test:deprecation-policy