From b655cd12d531f7d3fc62d201fa00f35306da25f7 Mon Sep 17 00:00:00 2001 From: Erik Moeller Date: Tue, 9 Jan 2024 16:50:08 -0800 Subject: [PATCH] Add GitHub action --- .github/workflows/checks.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/checks.yml 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