diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 000000000..7b572fafb --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,25 @@ +name: Run code checks + +on: + - push + - pull_request + +jobs: + + check: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + check: + - poetry check + - poetry build + + steps: + - uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + + - name: Run check "${{ matrix.check }}" + run: "${{ matrix.check }}"