diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..ac1e4fb --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,25 @@ +name: CI +on: + pull_request: + push: + branches: + - main + +# Cancel active CI runs for a PR before starting another run +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + +defaults: + run: + shell: bash + +env: + FORCE_COLOR: "1" + +jobs: + pre-commit: + name: Pre-commit checks + uses: beeware/.github/.github/workflows/pre-commit-run.yml@main + with: + pre-commit-source: "pre-commit" diff --git a/.gitignore b/.gitignore index 0761ceb..faa16a2 100644 --- a/.gitignore +++ b/.gitignore @@ -96,3 +96,6 @@ local/ # runtime data runtime/ + +# IntelliJ Idea family of suites +.idea