Fix operator warning #3285
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: spell_check | |
on: | |
merge_group: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: # Be able to trigger this manually on github.com | |
jobs: | |
typos-check: | |
name: Spell Check with Typos | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Actions Repository | |
uses: actions/checkout@v4 | |
- name: Check spelling | |
uses: crate-ci/typos@master | |
- name: check macros | |
run: | | |
for file in $(git diff --name-only --diff-filter=A); do | |
./scripts/check_macros.scp "$file" &>> check_macros.txt | |
done | |
- name: Archive script output | |
if: failure() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: t8code check macros report | |
path: check_macros.txt |