diff options
author | Erik Johnston <erik@matrix.org> | 2023-06-09 15:00:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-09 15:00:30 +0100 |
commit | 373c0c7ff7cf55b5f46aba43f4c4f9bba5c79c0e (patch) | |
tree | 9cd2d54dec847477a8c86dd5e3f49eeb1e290188 | |
parent | Allow for the configuration of max request retries and min/max retry delays i... (diff) | |
download | synapse-373c0c7ff7cf55b5f46aba43f4c4f9bba5c79c0e.tar.xz |
Speed up typechecking CI (#15752)
By restoring the rust cache before installing the project.
-rw-r--r-- | .github/workflows/tests.yml | 8 | ||||
-rw-r--r-- | changelog.d/15752.misc | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cf1899b580..02a4be3a24 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -92,6 +92,10 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 + - name: Install Rust + uses: dtolnay/rust-toolchain@1.58.1 + - uses: Swatinem/rust-cache@v2 + - name: Setup Poetry uses: matrix-org/setup-python-poetry@v1 with: @@ -103,10 +107,6 @@ jobs: # To make CI green, err towards caution and install the project. install-project: "true" - - name: Install Rust - uses: dtolnay/rust-toolchain@1.58.1 - - uses: Swatinem/rust-cache@v2 - # Cribbed from # https://github.com/AustinScola/mypy-cache-github-action/blob/85ea4f2972abed39b33bd02c36e341b28ca59213/src/restore.ts#L10-L17 - name: Restore/persist mypy's cache diff --git a/changelog.d/15752.misc b/changelog.d/15752.misc new file mode 100644 index 0000000000..7e373b1275 --- /dev/null +++ b/changelog.d/15752.misc @@ -0,0 +1 @@ +Speed up typechecking CI. |