|
35 | 35 | ]
|
36 | 36 |
|
37 | 37 | steps:
|
38 |
| - - uses: actions/checkout@v2 |
| 38 | + - uses: actions/checkout@v3 |
39 | 39 |
|
40 |
| - - uses: actions/checkout@v2 |
| 40 | + - uses: actions/checkout@v3 |
41 | 41 | with:
|
42 | 42 | repository: llvm/llvm-project
|
43 | 43 | path: llvm
|
@@ -71,39 +71,34 @@ jobs:
|
71 | 71 | - name: Set RUST_COMPILER_RT_ROOT
|
72 | 72 | run: echo "RUST_COMPILER_RT_ROOT="${{ env.workspace }}/llvm/compiler-rt >> $GITHUB_ENV
|
73 | 73 |
|
74 |
| - # https://github.com/actions/cache/issues/133 |
75 |
| - - name: Fixup owner of ~/.cargo/ |
76 |
| - # Don't remove the trailing /. It is necessary to follow the symlink. |
77 |
| - run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/ |
78 |
| - |
79 | 74 | - name: Cache cargo installed crates
|
80 |
| - uses: actions/cache@v1.1.2 |
| 75 | + uses: actions/cache@v3 |
81 | 76 | with:
|
82 | 77 | path: ~/.cargo/bin
|
83 | 78 | key: cargo-installed-crates2-ubuntu-latest
|
84 | 79 |
|
85 | 80 | - name: Cache cargo registry
|
86 |
| - uses: actions/cache@v1 |
| 81 | + uses: actions/cache@v3 |
87 | 82 | with:
|
88 | 83 | path: ~/.cargo/registry
|
89 | 84 | key: ${{ runner.os }}-cargo-registry2-${{ hashFiles('**/Cargo.lock') }}
|
90 | 85 |
|
91 | 86 | - name: Cache cargo index
|
92 |
| - uses: actions/cache@v1 |
| 87 | + uses: actions/cache@v3 |
93 | 88 | with:
|
94 | 89 | path: ~/.cargo/git
|
95 | 90 | key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
|
96 | 91 |
|
97 | 92 | - name: Cache cargo target dir
|
98 |
| - uses: actions/cache@v1.1.2 |
| 93 | + uses: actions/cache@v3 |
99 | 94 | with:
|
100 | 95 | path: target
|
101 | 96 | key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain') }}
|
102 | 97 |
|
103 | 98 | - name: Cache rust repository
|
104 | 99 | # We only clone the rust repository for rustc tests
|
105 | 100 | if: ${{ contains(matrix.commands, 'rustc') }}
|
106 |
| - uses: actions/cache@v2 |
| 101 | + uses: actions/cache@v3 |
107 | 102 | id: cache-rust-repository
|
108 | 103 | with:
|
109 | 104 | path: rust
|
@@ -140,5 +135,5 @@ jobs:
|
140 | 135 | duplicates:
|
141 | 136 | runs-on: ubuntu-latest
|
142 | 137 | steps:
|
143 |
| - - uses: actions/checkout@v2 |
| 138 | + - uses: actions/checkout@v3 |
144 | 139 | - run: python tools/check_intrinsics_duplicates.py
|
0 commit comments