Update xr to v1.0.0-alpha04 #326
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # THIS ACTION IS FOR VALIDATION WITHIN TEMPLATE REPO, AND WILL BE | |
| # REMOVED UPON RUNNING RENAMETEMPLATE GRADLE TASK. | |
| name: Install MacOS Hooks | |
| # This will cancel any in progress workflows for the same PR, if | |
| # multiple pushes happen in quick succession. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| on: pull_request | |
| jobs: | |
| install-macos-hooks: | |
| runs-on: macos-14 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup | |
| uses: ./.github/actions/workflow_setup | |
| - name: Install | |
| run: ./gradlew installGitHooks | |
| - name: Check Pre-Commit File | |
| uses: GuillaumeFalourd/assert-command-line-output@v2.4 | |
| with: | |
| command_line: cat .git/hooks/pre-commit | |
| assert_file_path: git-hooks/pre-commit-macos.sh | |
| expected_result: PASSED | |
| - name: Check Pre-Push File | |
| uses: GuillaumeFalourd/assert-command-line-output@v2.4 | |
| with: | |
| command_line: cat .git/hooks/pre-push | |
| assert_file_path: git-hooks/pre-push-macos.sh | |
| expected_result: PASSED |