Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Speed up typechecking CI #15752

Merged
merged 2 commits into from
Jun 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Rust
uses: dtolnay/[email protected]
- uses: Swatinem/rust-cache@v2

- name: Setup Poetry
uses: matrix-org/setup-python-poetry@v1
with:
Expand All @@ -103,10 +107,6 @@ jobs:
# To make CI green, err towards caution and install the project.
install-project: "true"

- name: Install Rust
uses: dtolnay/[email protected]
- 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
Expand Down
1 change: 1 addition & 0 deletions changelog.d/15752.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Speed up typechecking CI.