This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree 3 files changed +10
-8
lines changed
3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 22
22
path : book
23
23
24
24
- name : 📤 Deploy to Netlify
25
- uses : matrix-org/netlify-pr-preview@v1
25
+ uses : matrix-org/netlify-pr-preview@v2
26
26
with :
27
27
path : book
28
28
owner : ${{ github.event.workflow_run.head_repository.owner.login }}
Original file line number Diff line number Diff line change @@ -107,14 +107,15 @@ jobs:
107
107
108
108
- uses : Swatinem/rust-cache@v2
109
109
110
- # NB: I have two concerns with this action:
111
- # 1. We occasionally see odd mypy problems that aren't reproducible
112
- # locally with clean caches. I suspect some dodgy caching behaviour.
113
- # 2. The action uses GHA machinery that's deprecated
114
- # (https://github.com/AustinScola/mypy-cache-github-action/issues/277)
115
- # It may be simpler to use actions/cache ourselves to restore .mypy_cache.
110
+ # Cribbed from
111
+ # https://github.com/AustinScola/mypy-cache-github-action/blob/85ea4f2972abed39b33bd02c36e341b28ca59213/src/restore.ts#L10-L17
116
112
- name : Restore/persist mypy's cache
117
- uses : AustinScola/mypy-cache-github-action@df56268388422ee282636ee2c7a9cc55ec644a41
113
+ uses : actions/cache@v3
114
+ with :
115
+ path : |
116
+ .mypy_cache
117
+ key : mypy-cache-${{ github.context.sha }}
118
+ restore-keys : mypy-cache-
118
119
119
120
- name : Run mypy
120
121
run : poetry run mypy
Original file line number Diff line number Diff line change
1
+ Deal with upcoming Github Actions deprecations.
You can’t perform that action at this time.
0 commit comments