diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 721c4ba3abf98..08a070c6aec4b 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -31,6 +31,8 @@ jobs: id: setup-homebrew uses: Homebrew/actions/setup-homebrew@master with: + core: false + cask: false test-bot: false - name: Set up actionlint diff --git a/.github/workflows/autogenerated-files.yml b/.github/workflows/autogenerated-files.yml index 29468440d23f9..0ec31c71fa6ab 100644 --- a/.github/workflows/autogenerated-files.yml +++ b/.github/workflows/autogenerated-files.yml @@ -24,6 +24,10 @@ jobs: - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master + with: + core: false + cask: false + test-bot: true - name: Cache Bundler RubyGems uses: actions/cache@v3 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4d5a5ed321c5e..f666307ba6b60 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,6 +17,10 @@ jobs: - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master + with: + core: false + cask: false + test-bot: false - name: Install vale run: brew install vale @@ -49,6 +53,10 @@ jobs: - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master + with: + core: false + cask: false + test-bot: false - name: Checkout Homebrew/rubydoc.brew.sh uses: actions/checkout@main diff --git a/.github/workflows/doctor.yml b/.github/workflows/doctor.yml index ec44897380167..653b8b52de0f7 100644 --- a/.github/workflows/doctor.yml +++ b/.github/workflows/doctor.yml @@ -36,6 +36,10 @@ jobs: - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master + with: + core: false + cask: false + test-bot: true - run: brew test-bot --only-cleanup-before if: matrix.cleanup diff --git a/.github/workflows/sorbet.yml b/.github/workflows/sorbet.yml index c6fa0db8bec8d..d58b9019e1ba6 100644 --- a/.github/workflows/sorbet.yml +++ b/.github/workflows/sorbet.yml @@ -26,6 +26,10 @@ jobs: - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master + with: + core: false + cask: false + test-bot: false - name: Configure Git user if: github.event_name != 'pull_request' diff --git a/.github/workflows/spdx.yml b/.github/workflows/spdx.yml index 1321ab9b42696..69601406ee1bc 100644 --- a/.github/workflows/spdx.yml +++ b/.github/workflows/spdx.yml @@ -20,6 +20,10 @@ jobs: - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master + with: + core: false + cask: false + test-bot: false - name: Configure Git user uses: Homebrew/actions/git-user-config@master diff --git a/.github/workflows/sponsors-maintainers-man-completions.yml b/.github/workflows/sponsors-maintainers-man-completions.yml index a507a9f02a9dd..ae82d012294e1 100644 --- a/.github/workflows/sponsors-maintainers-man-completions.yml +++ b/.github/workflows/sponsors-maintainers-man-completions.yml @@ -29,6 +29,10 @@ jobs: - name: Setup Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master + with: + core: false + cask: false + test-bot: false - name: Configure Git user uses: Homebrew/actions/git-user-config@master diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 303a6d4506fd3..13fa4838f7895 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -29,6 +29,10 @@ jobs: - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master + with: + core: false + cask: false + test-bot: false - name: Cache Bundler RubyGems uses: actions/cache@v3 @@ -65,12 +69,14 @@ jobs: needs: syntax if: startsWith(github.repository, 'Homebrew/') runs-on: ubuntu-22.04 - env: - HOMEBREW_NO_INSTALL_FROM_API: 1 steps: - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master + with: + core: true + cask: true + test-bot: true - name: Cache Bundler RubyGems uses: actions/cache@v3 @@ -90,11 +96,9 @@ jobs: brew tap homebrew/aliases brew tap homebrew/autoupdate brew tap homebrew/bundle - brew tap homebrew/cask brew tap homebrew/cask-fonts brew tap homebrew/cask-versions brew tap homebrew/command-not-found - brew tap homebrew/core brew tap homebrew/formula-analytics brew tap homebrew/portable-ruby brew tap homebrew/services @@ -125,12 +129,14 @@ jobs: needs: syntax if: startsWith(github.repository, 'Homebrew/') runs-on: ubuntu-22.04 - env: - HOMEBREW_NO_INSTALL_FROM_API: 1 steps: - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master + with: + core: true + cask: false + test-bot: false - name: Cache Bundler RubyGems uses: actions/cache@v3 @@ -142,9 +148,6 @@ jobs: - name: Install Bundler RubyGems run: brew install-bundler-gems --groups=all - - name: Set up the homebrew/core tap - run: brew tap homebrew/core - - name: Run brew readall on homebrew/core run: brew readall --os=all --arch=all --aliases homebrew/core @@ -159,12 +162,14 @@ jobs: needs: syntax if: startsWith(github.repository, 'Homebrew/') runs-on: macos-13 - env: - HOMEBREW_NO_INSTALL_FROM_API: 1 steps: - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master + with: + core: false + cask: true + test-bot: false - name: Cache Bundler RubyGems uses: actions/cache@v3 @@ -178,7 +183,6 @@ jobs: - name: Set up Homebrew all cask taps run: | - brew tap homebrew/cask && brew update-reset "$(brew --repo homebrew/cask)" brew tap homebrew/cask-fonts brew tap homebrew/cask-versions @@ -202,6 +206,10 @@ jobs: - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master + with: + core: false + cask: false + test-bot: false - name: Configure Git user uses: Homebrew/actions/git-user-config@master @@ -224,6 +232,10 @@ jobs: - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master + with: + core: false + cask: false + test-bot: false - name: Build Docker image working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }} @@ -266,6 +278,10 @@ jobs: - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master + with: + core: false + cask: false + test-bot: false - name: Cache Bundler RubyGems uses: actions/cache@v3 @@ -309,8 +325,10 @@ jobs: - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master - env: - HOMEBREW_NO_INSTALL_FROM_API: 1 + with: + core: true + cask: false + test-bot: false - name: Cache Bundler RubyGems uses: actions/cache@v3 @@ -398,6 +416,10 @@ jobs: - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master + with: + core: true + cask: false + test-bot: true - run: brew test-bot --only-cleanup-before diff --git a/.github/workflows/vendor-gems.yml b/.github/workflows/vendor-gems.yml index 4f7b31d13f7fc..4761d81921d9e 100644 --- a/.github/workflows/vendor-gems.yml +++ b/.github/workflows/vendor-gems.yml @@ -37,6 +37,10 @@ jobs: - name: Set up Homebrew id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master + with: + core: false + cask: false + test-bot: false - name: Configure Git user if: github.event_name == 'pull_request_target' || github.event_name == 'workflow_dispatch'