diff --git a/.github/workflows/cre-local-env-tests.yaml b/.github/workflows/cre-local-env-tests.yaml index c9af5d738ad..18555b7c129 100644 --- a/.github/workflows/cre-local-env-tests.yaml +++ b/.github/workflows/cre-local-env-tests.yaml @@ -139,11 +139,10 @@ jobs: aws-role-duration-seconds: "1800" set-git-config: "true" - # setup step installs Bun via Homebrew, but it is not available in the CI and we don't want to install it (too slow) - - name: Install Bun - run: | - curl -fsSL https://bun.sh/install | bash - echo "${HOME}/.bun/bin" >> "${GITHUB_PATH}" + - name: Install bun + uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0 + with: + bun-version: latest - name: Setup the environment shell: bash