diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..26e523c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +# This Action uses minimal steps to run in ~5 seconds to rapidly: +# look for typos in the codebase using codespell, and +# lint Python code using ruff and provide intuitive GitHub Annotations to contributors. +# https://github.com/codespell-project/codespell#readme +# https://docs.astral.sh/ruff/ +name: ci +on: + push: + # branches: [main, master] + pull_request: + # branches: [main, master] +jobs: + codespell: + runs-on: ubuntu-24.04-arm + steps: + - uses: actions/checkout@v4 + - uses: codespell-project/actions-codespell@v2 + with: + ignore_words_list: earch,ect,flushin,vas + ruff: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: astral-sh/ruff-action@v3 + with: + args: check --ignore=ALL