From 3e3182353e459e4123e68e82b3cf01393751e7f3 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Tue, 10 Sep 2024 02:47:46 +0200 Subject: [PATCH] Run `nox -s lint` on GitHub actions --- .github/workflows/lint.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..318be47 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,21 @@ +name: lint +on: push +jobs: + lint: + runs-on: ubuntu-latest + name: lint + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: 3.12 + architecture: x64 + + - run: python --version + - run: pip --version + + # The following pinned dependencies must be updated manually + - run: pip install nox==2024.4.15 + - run: pip install poetry==1.8.3 + + - run: nox -s lint