Skip to content

Commit

Permalink
Rip out backend-meta workflow
Browse files Browse the repository at this point in the history
Hasn't been worth the effort.
  • Loading branch information
David Robertson committed Nov 20, 2023
1 parent 1431e98 commit f349b73
Showing 1 changed file with 30 additions and 4 deletions.
34 changes: 30 additions & 4 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,36 @@ jobs:
- run: python -m pip install towncrier
- run: "scripts-dev/check_newsfragment.sh ${{ github.event.number }}"

checks:
uses: "matrix-org/backend-meta/.github/workflows/python-poetry-ci.yml@v2"
with:
python-version: 3.11
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: matrix-org/setup-python-poetry@v1
with:
install-project: false
python-version: 3.11

- name: Import order (isort)
run: poetry run isort --check --diff .

- name: Code style (black)
run: poetry run black --check --diff .

- name: Semantic checks (ruff)
# --quiet suppresses the update check.
run: poetry run ruff --quiet .

- name: Restore/persist mypy's cache
uses: actions/cache@v3
with:
path: |
.mypy_cache
key: mypy-cache-${{ github.context.sha }}
restore-keys: mypy-cache-

- name: Typechecking (mypy)
run: poetry run mypy

packaging:
uses: "matrix-org/backend-meta/.github/workflows/packaging.yml@v1"

Expand Down

0 comments on commit f349b73

Please sign in to comment.