WIT: Add @since
, @unstable
, and @deprecated
attr support
#50
Workflow file for this run
This file contains 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 | |
} |