summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-03-28 15:42:24 +0100
committerGitHub <noreply@github.com>2023-03-28 15:42:24 +0100
commit8a47bf13efae0b4d844c8fb59cf33663b185db46 (patch)
treef10681d255bdb9079dfa5470d7e15f9f0dc1d24c
parentFix typo in developer docs GitHub workflow (#15336) (diff)
downloadsynapse-8a47bf13efae0b4d844c8fb59cf33663b185db46.tar.xz
Speed up pydantic CI lint (#15339)
-rw-r--r--.github/workflows/tests.yml8
-rw-r--r--changelog.d/15339.misc1
2 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml

index 7f57f046fc..0e736cecb8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml
@@ -95,6 +95,14 @@ jobs: - uses: actions/checkout@v3 with: ref: ${{ github.event.pull_request.head.sha }} + - name: Install Rust + # There don't seem to be versioned releases of this action per se: for each rust + # version there is a branch which gets constantly rebased on top of master. + # We pin to a specific commit for paranoia's sake. + uses: dtolnay/rust-toolchain@fc3253060d0c959bea12a59f10f8391454a0b02d + with: + toolchain: 1.58.1 + - uses: Swatinem/rust-cache@v2 - uses: matrix-org/setup-python-poetry@v1 with: poetry-version: "1.3.2" diff --git a/changelog.d/15339.misc b/changelog.d/15339.misc new file mode 100644
index 0000000000..626f7ef5c0 --- /dev/null +++ b/changelog.d/15339.misc
@@ -0,0 +1 @@ +Speed up pydantic CI job.