summary refs log tree commit diff
path: root/.github/workflows/tests.yml
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-09-16 16:18:32 +0100
committerGitHub <noreply@github.com>2022-09-16 16:18:32 +0100
commit5e844616539eb74e9b23abf656891c4e76c2ae17 (patch)
tree8e1763bb984ddf349f467010e55df1eefe28031b /.github/workflows/tests.yml
parentRemove error spam when users query the keys of departed remote users (#13826) (diff)
downloadsynapse-5e844616539eb74e9b23abf656891c4e76c2ae17.tar.xz
Minor speedups to CI linting (#13827)
Diffstat (limited to '.github/workflows/tests.yml')
-rw-r--r--.github/workflows/tests.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index a5a217d015..4801fe7316 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -32,9 +32,11 @@ jobs:
     steps:
       - uses: actions/checkout@v2
       - uses: actions/setup-python@v2
-      - run: pip install .
-      - run: scripts-dev/generate_sample_config.sh --check
-      - run: scripts-dev/config-lint.sh
+      - uses: matrix-org/setup-python-poetry@v1
+        with:
+          extras: "all"
+      - run: poetry run scripts-dev/generate_sample_config.sh --check
+      - run: poetry run scripts-dev/config-lint.sh
 
   check-schema-delta:
     runs-on: ubuntu-latest
@@ -76,7 +78,6 @@ jobs:
       - uses: actions/checkout@v2
         with:
           ref: ${{ github.event.pull_request.head.sha }}
-          fetch-depth: 0
       - uses: matrix-org/setup-python-poetry@v1
         with:
           extras: "all"