Add scripts for magic number detection and CI workflows #1
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: Find Misplaced Constants | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
find-misplaced-constants: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Run Python Script | |
run: python .github/scripts/constants.py |