Change summary
.github/workflows/run_tests.yml | 14 +++++++-------
tooling/xtask/src/tasks/workflows/steps.rs | 12 ++++--------
2 files changed, 11 insertions(+), 15 deletions(-)
Detailed changes
@@ -63,7 +63,7 @@ jobs:
runs-on: namespace-profile-4x8-ubuntu-2204
steps:
- name: steps::cache_rust_dependencies_namespace
- uses: namespacelabs/rust-cache@nscloud-cache-action
+ uses: namespacelabs/nscloud-cache-action@v1
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
cache: rust
@@ -154,7 +154,7 @@ jobs:
run: ./script/install-mold
shell: bash -euxo pipefail {0}
- name: steps::cache_rust_dependencies_namespace
- uses: namespacelabs/rust-cache@nscloud-cache-action
+ uses: namespacelabs/nscloud-cache-action@v1
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
cache: rust
@@ -231,7 +231,7 @@ jobs:
with:
clean: false
- name: steps::cache_rust_dependencies_namespace
- uses: namespacelabs/rust-cache@nscloud-cache-action
+ uses: namespacelabs/nscloud-cache-action@v1
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
cache: rust
@@ -282,7 +282,7 @@ jobs:
run: ./script/install-mold
shell: bash -euxo pipefail {0}
- name: steps::cache_rust_dependencies_namespace
- uses: namespacelabs/rust-cache@nscloud-cache-action
+ uses: namespacelabs/nscloud-cache-action@v1
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
cache: rust
@@ -346,7 +346,7 @@ jobs:
with:
clean: false
- name: steps::cache_rust_dependencies_namespace
- uses: namespacelabs/rust-cache@nscloud-cache-action
+ uses: namespacelabs/nscloud-cache-action@v1
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
cache: rust
@@ -387,7 +387,7 @@ jobs:
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
shell: bash -euxo pipefail {0}
- name: steps::cache_rust_dependencies_namespace
- uses: namespacelabs/rust-cache@nscloud-cache-action
+ uses: namespacelabs/nscloud-cache-action@v1
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
cache: rust
@@ -433,7 +433,7 @@ jobs:
with:
clean: false
- name: steps::cache_rust_dependencies_namespace
- uses: namespacelabs/rust-cache@nscloud-cache-action
+ uses: namespacelabs/nscloud-cache-action@v1
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
cache: rust
@@ -118,14 +118,10 @@ pub(crate) fn cache_rust_dependencies_namespace() -> Step<Use> {
"/home/runner/.cargo/bin/cargo-about",
]
.join("\n");
- named::uses(
- "namespacelabs",
- "rust-cache",
- "nscloud-cache-action", // v2
- )
- .add_with(("save-if", "${{ github.ref == 'refs/heads/main' }}"))
- .add_with(("cache", "rust"))
- .add_with(("path", allowlisted_binaries))
+ named::uses("namespacelabs", "nscloud-cache-action", "v1")
+ .add_with(("save-if", "${{ github.ref == 'refs/heads/main' }}"))
+ .add_with(("cache", "rust"))
+ .add_with(("path", allowlisted_binaries))
}
fn setup_linux() -> Step<Run> {