bump actions for node16
This commit is contained in:
parent
e84f9a1592
commit
12bfb01b91
.github/workflows
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -35,9 +35,9 @@ jobs:
|
|||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: llvm/llvm-project
|
repository: llvm/llvm-project
|
||||||
path: llvm
|
path: llvm
|
||||||
@ -77,25 +77,25 @@ jobs:
|
|||||||
run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/
|
run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/
|
||||||
|
|
||||||
- name: Cache cargo installed crates
|
- name: Cache cargo installed crates
|
||||||
uses: actions/cache@v1.1.2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.cargo/bin
|
path: ~/.cargo/bin
|
||||||
key: cargo-installed-crates2-ubuntu-latest
|
key: cargo-installed-crates2-ubuntu-latest
|
||||||
|
|
||||||
- name: Cache cargo registry
|
- name: Cache cargo registry
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.cargo/registry
|
path: ~/.cargo/registry
|
||||||
key: ${{ runner.os }}-cargo-registry2-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-registry2-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
- name: Cache cargo index
|
- name: Cache cargo index
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.cargo/git
|
path: ~/.cargo/git
|
||||||
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
- name: Cache cargo target dir
|
- name: Cache cargo target dir
|
||||||
uses: actions/cache@v1.1.2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: target
|
path: target
|
||||||
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain') }}
|
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain') }}
|
||||||
@ -103,7 +103,7 @@ jobs:
|
|||||||
- name: Cache rust repository
|
- name: Cache rust repository
|
||||||
# We only clone the rust repository for rustc tests
|
# We only clone the rust repository for rustc tests
|
||||||
if: ${{ contains(matrix.commands, 'rustc') }}
|
if: ${{ contains(matrix.commands, 'rustc') }}
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
id: cache-rust-repository
|
id: cache-rust-repository
|
||||||
with:
|
with:
|
||||||
path: rust
|
path: rust
|
||||||
@ -140,5 +140,5 @@ jobs:
|
|||||||
duplicates:
|
duplicates:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- run: python tools/check_intrinsics_duplicates.py
|
- run: python tools/check_intrinsics_duplicates.py
|
||||||
|
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@ -22,9 +22,9 @@ jobs:
|
|||||||
- { gcc: "libgccjit.so", artifacts_branch: "master" }
|
- { gcc: "libgccjit.so", artifacts_branch: "master" }
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: llvm/llvm-project
|
repository: llvm/llvm-project
|
||||||
path: llvm
|
path: llvm
|
||||||
@ -64,25 +64,25 @@ jobs:
|
|||||||
run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/
|
run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/
|
||||||
|
|
||||||
- name: Cache cargo installed crates
|
- name: Cache cargo installed crates
|
||||||
uses: actions/cache@v1.1.2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.cargo/bin
|
path: ~/.cargo/bin
|
||||||
key: cargo-installed-crates2-ubuntu-latest
|
key: cargo-installed-crates2-ubuntu-latest
|
||||||
|
|
||||||
- name: Cache cargo registry
|
- name: Cache cargo registry
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.cargo/registry
|
path: ~/.cargo/registry
|
||||||
key: ${{ runner.os }}-cargo-registry2-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-registry2-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
- name: Cache cargo index
|
- name: Cache cargo index
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.cargo/git
|
path: ~/.cargo/git
|
||||||
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
- name: Cache cargo target dir
|
- name: Cache cargo target dir
|
||||||
uses: actions/cache@v1.1.2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: target
|
path: target
|
||||||
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain') }}
|
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('rust-toolchain') }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user