summary refs log tree commit diff
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
parentRemove error spam when users query the keys of departed remote users (#13826) (diff)
downloadsynapse-5e844616539eb74e9b23abf656891c4e76c2ae17.tar.xz
Minor speedups to CI linting (#13827)
-rw-r--r--.github/workflows/tests.yml9
-rw-r--r--changelog.d/13827.misc1
2 files changed, 6 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"
diff --git a/changelog.d/13827.misc b/changelog.d/13827.misc
new file mode 100644
index 0000000000..c7936b7ac8
--- /dev/null
+++ b/changelog.d/13827.misc
@@ -0,0 +1 @@
+Minor speedups to linting in CI.