diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml new file mode 100644 index 00000000..00c41c5c --- /dev/null +++ b/.github/workflows/checks.yml @@ -0,0 +1,23 @@ +--- +name: CI + +on: [push, pull_request] + +jobs: + checks: + runs-on: ubuntu-latest + # We use a standard Debian image to mirror a typical developer environment. + # This should be updated whenever a new Debian stable version is available. + container: debian:bullseye + steps: + - uses: actions/checkout@v4 + - name: Install dependencies + run: | + apt-get update && apt-get install --yes --no-install-recommends make python3-pip + pip install -r test-requirements.txt + - name: Run lint check + run: | + make check-lint + - name: Run format check + run: | + make check-format