Explicitly create tmp dir before starting tools (macOS 15.7) #326
Workflow file for this run
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
| name: check | |
| on: | |
| pull_request: | |
| push: | |
| branches: main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check: | |
| runs-on: macos-latest | |
| env: | |
| MINT_PATH: ${{ github.workspace }}/mint | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Cache Mint packages | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ env.MINT_PATH }} | |
| key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }} | |
| restore-keys: ${{ runner.os }}-mint- | |
| - name: Setup Scripts Directory | |
| run: ./setup-scripts.sh | |
| - name: Setup check | |
| run: scripts/setup_check.sh | |
| - name: Style | |
| run: scripts/style.sh test-only | |
| - name: Whitespace | |
| run: scripts/check_whitespace.sh | |
| - name: Filename spaces | |
| run: scripts/check_filename_spaces.sh | |
| - name: Copyrights | |
| run: scripts/check_copyright.sh | |
| - name: Imports | |
| run: scripts/check_imports.swift |