mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-10 15:14:32 +00:00
Fix cargo registry caching for builds
This commit is contained in:
parent
d3773ec152
commit
c98fa45d05
1 changed files with 3 additions and 0 deletions
3
.github/workflows/ci.yaml
vendored
3
.github/workflows/ci.yaml
vendored
|
@ -74,6 +74,9 @@ jobs:
|
|||
override: true
|
||||
components: rustfmt, rust-src
|
||||
|
||||
- if: matrix.os == 'ubuntu-latest'
|
||||
run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/
|
||||
|
||||
- name: Cache cargo registry
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue