diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index afe69aab2ce..8dd9a43882e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,8 +1,6 @@ -name: 'Build bottles.' - +name: GitHub Actions CI on: pull_request: [] - jobs: tests: strategy: @@ -19,11 +17,11 @@ jobs: HOMEBREW_NO_ANALYTICS: 1 HOMEBREW_NO_AUTO_UPDATE: 1 GITHUB_ACTIONS_HOMEBREW_SELF_HOSTED: 1 - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} steps: - name: Update Homebrew run: brew update-reset - - name: Checkout repository + - name: Set up Git repository run: | cd $(brew --repo ${{github.repository}}) git clean -ffdx @@ -31,7 +29,7 @@ jobs: git fetch --prune --force origin ${{github.sha}} git checkout --force ${{github.sha}} git log -1 - - name: Build bottles + - name: Run brew test-bot run: | mkdir bottles cd bottles