diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1602b6b9f7..58c8f083a5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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: