Update wasi-testsuite to f442fae1a214263aeeddb5395c0c50dc9403b7f8 #114
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: Format | |
| on: | |
| pull_request: | |
| jobs: | |
| format: | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| container: | |
| image: swift:6.0.1-jammy | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: ./Utilities/format.py | |
| - name: Check for formatting changes | |
| run: | | |
| git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
| git diff --exit-code || { | |
| echo "::error::The formatting changed some files. Please run \`./Utilities/format.py\` and commit the changes." | |
| exit 1 | |
| } |