mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
Pin dependencies (#52522)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/github-script](https://redirect.github.com/actions/github-script) | action | pinDigest | → `f28e40c` | | [actions/setup-python](https://redirect.github.com/actions/setup-python) | action | pinDigest | → `a26af69` | | [namespacelabs/nscloud-cache-action](https://redirect.github.com/namespacelabs/nscloud-cache-action) | action | pinDigest | → `a90bb5d` | | [taiki-e/install-action](https://redirect.github.com/taiki-e/install-action) | action | pinDigest | → `921e2c9` | | [taiki-e/install-action](https://redirect.github.com/taiki-e/install-action) | action | pinDigest | → `b4f2d5c` | | [withastro/automation](https://redirect.github.com/withastro/automation) | action | pinDigest | → `a5bd0c5` | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/15138) for more information. --- ### Configuration 📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- Release Notes: - N/A <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My45MS41IiwidXBkYXRlZEluVmVyIjoiNDMuOTEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Marshall Bowers <git@maxdeviant.com>
This commit is contained in:
parent
2a3fcb2ce4
commit
cd05f19054
23 changed files with 93 additions and 62 deletions
2
.github/actions/run_tests/action.yml
vendored
2
.github/actions/run_tests/action.yml
vendored
|
|
@ -5,7 +5,7 @@ runs:
|
|||
using: "composite"
|
||||
steps:
|
||||
- name: Install nextest
|
||||
uses: taiki-e/install-action@nextest
|
||||
uses: taiki-e/install-action@921e2c9f7148d7ba14cd819f417db338f63e733c # nextest
|
||||
|
||||
- name: Install Node
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
||||
|
|
|
|||
2
.github/actions/run_tests_windows/action.yml
vendored
2
.github/actions/run_tests_windows/action.yml
vendored
|
|
@ -12,7 +12,7 @@ runs:
|
|||
steps:
|
||||
- name: Install test runner
|
||||
working-directory: ${{ inputs.working-directory }}
|
||||
uses: taiki-e/install-action@nextest
|
||||
uses: taiki-e/install-action@921e2c9f7148d7ba14cd819f417db338f63e733c # nextest
|
||||
|
||||
- name: Install Node
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
||||
|
|
|
|||
2
.github/workflows/autofix_pr.yml
vendored
2
.github/workflows/autofix_pr.yml
vendored
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
mkdir -p ./../.cargo
|
||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
|
|||
2
.github/workflows/background_agent_mvp.yml
vendored
2
.github/workflows/background_agent_mvp.yml
vendored
|
|
@ -50,7 +50,7 @@ jobs:
|
|||
"${HOME}/.local/bin/droid" --version
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
runs-on: namespace-profile-2x4-ubuntu-2404
|
||||
steps:
|
||||
- name: Check if author is a community champion and apply label
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
|
||||
env:
|
||||
COMMUNITY_CHAMPIONS: |
|
||||
0x2CA
|
||||
|
|
|
|||
2
.github/workflows/compare_perf.yml
vendored
2
.github/workflows/compare_perf.yml
vendored
|
|
@ -33,7 +33,7 @@ jobs:
|
|||
- name: steps::download_wasi_sdk
|
||||
run: ./script/download-wasi-sdk
|
||||
- name: compare_perf::run_perf::install_hyperfine
|
||||
uses: taiki-e/install-action@hyperfine
|
||||
uses: taiki-e/install-action@b4f2d5cb8597b15997c8ede873eb6185efc5f0ad
|
||||
- name: steps::git_checkout
|
||||
run: git fetch origin "$REF_NAME" && git checkout "$REF_NAME"
|
||||
env:
|
||||
|
|
|
|||
4
.github/workflows/congrats.yml
vendored
4
.github/workflows/congrats.yml
vendored
|
|
@ -13,7 +13,7 @@ jobs:
|
|||
steps:
|
||||
- name: Get PR info and check if author is external
|
||||
id: check
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
|
||||
with:
|
||||
github-token: ${{ secrets.CONGRATSBOT_GITHUB_TOKEN }}
|
||||
script: |
|
||||
|
|
@ -57,7 +57,7 @@ jobs:
|
|||
congrats:
|
||||
needs: check-author
|
||||
if: needs.check-author.outputs.should_congratulate == 'true'
|
||||
uses: withastro/automation/.github/workflows/congratsbot.yml@main
|
||||
uses: withastro/automation/.github/workflows/congratsbot.yml@a5bd0c5748c4d56e687cdd558064f9ee8adfb1f2 # main
|
||||
with:
|
||||
EMOJIS: 🎉,🎊,🧑🚀,🥳,🙌,🚀,🦀,🔥,🚢
|
||||
secrets:
|
||||
|
|
|
|||
6
.github/workflows/deploy_collab.yml
vendored
6
.github/workflows/deploy_collab.yml
vendored
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
mkdir -p ./../.cargo
|
||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -57,7 +57,7 @@ jobs:
|
|||
mkdir -p ./../.cargo
|
||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -66,7 +66,7 @@ jobs:
|
|||
- name: steps::download_wasi_sdk
|
||||
run: ./script/download-wasi-sdk
|
||||
- name: steps::cargo_install_nextest
|
||||
uses: taiki-e/install-action@nextest
|
||||
uses: taiki-e/install-action@921e2c9f7148d7ba14cd819f417db338f63e733c
|
||||
- name: steps::clear_target_dir_if_large
|
||||
run: ./script/clear-target-dir-if-larger-than 250
|
||||
- name: deploy_collab::tests::run_collab_tests
|
||||
|
|
|
|||
6
.github/workflows/extension_bump.yml
vendored
6
.github/workflows/extension_bump.yml
vendored
|
|
@ -84,7 +84,7 @@ jobs:
|
|||
with:
|
||||
clean: false
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -187,7 +187,7 @@ jobs:
|
|||
CURRENT_VERSION: ${{ needs.check_version_changed.outputs.current_version }}
|
||||
WORKING_DIR: ${{ inputs.working-directory }}
|
||||
- name: extension_bump::create_version_tag
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b
|
||||
with:
|
||||
script: |-
|
||||
github.rest.git.createRef({
|
||||
|
|
@ -239,7 +239,7 @@ jobs:
|
|||
env:
|
||||
COMMITTER_TOKEN: ${{ steps.generate-token.outputs.token }}
|
||||
- name: extension_bump::enable_automerge_if_staff
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b
|
||||
with:
|
||||
github-token: ${{ steps.generate-token.outputs.token }}
|
||||
script: |
|
||||
|
|
|
|||
6
.github/workflows/extension_tests.yml
vendored
6
.github/workflows/extension_tests.yml
vendored
|
|
@ -77,7 +77,7 @@ jobs:
|
|||
with:
|
||||
clean: false
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -97,7 +97,7 @@ jobs:
|
|||
env:
|
||||
PACKAGE_NAME: ${{ steps.get-package-name.outputs.package_name }}
|
||||
- name: steps::cargo_install_nextest
|
||||
uses: taiki-e/install-action@nextest
|
||||
uses: taiki-e/install-action@921e2c9f7148d7ba14cd819f417db338f63e733c
|
||||
- name: extension_tests::run_nextest
|
||||
run: 'cargo nextest run -p "$PACKAGE_NAME" --no-fail-fast --no-tests=warn --target "$(rustc -vV | sed -n ''s|host: ||p'')"'
|
||||
env:
|
||||
|
|
@ -131,7 +131,7 @@ jobs:
|
|||
wget --quiet "https://zed-extension-cli.nyc3.digitaloceanspaces.com/$ZED_EXTENSION_CLI_SHA/x86_64-unknown-linux-gnu/zed-extension" -O "$GITHUB_WORKSPACE/zed-extension"
|
||||
chmod +x "$GITHUB_WORKSPACE/zed-extension"
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ jobs:
|
|||
PREV_COMMIT: ${{ steps.prev-tag.outputs.prev_commit }}
|
||||
- id: list-repos
|
||||
name: extension_workflow_rollout::fetch_extension_repos::get_repositories
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b
|
||||
with:
|
||||
script: |
|
||||
const repos = await github.paginate(github.rest.repos.listForOrg, {
|
||||
|
|
@ -81,7 +81,7 @@ jobs:
|
|||
return filteredRepos;
|
||||
result-encoding: json
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
|
|||
4
.github/workflows/publish_extension_cli.yml
vendored
4
.github/workflows/publish_extension_cli.yml
vendored
|
|
@ -18,7 +18,7 @@ jobs:
|
|||
with:
|
||||
clean: false
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -48,7 +48,7 @@ jobs:
|
|||
with:
|
||||
clean: false
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
|
|||
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
mkdir -p ./../.cargo
|
||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
with:
|
||||
node-version: '20'
|
||||
- name: steps::cargo_install_nextest
|
||||
uses: taiki-e/install-action@nextest
|
||||
uses: taiki-e/install-action@921e2c9f7148d7ba14cd819f417db338f63e733c
|
||||
- name: steps::clear_target_dir_if_large
|
||||
run: ./script/clear-target-dir-if-larger-than 300
|
||||
- name: steps::setup_sccache
|
||||
|
|
@ -66,7 +66,7 @@ jobs:
|
|||
mkdir -p ./../.cargo
|
||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -79,7 +79,7 @@ jobs:
|
|||
with:
|
||||
node-version: '20'
|
||||
- name: steps::cargo_install_nextest
|
||||
uses: taiki-e/install-action@nextest
|
||||
uses: taiki-e/install-action@921e2c9f7148d7ba14cd819f417db338f63e733c
|
||||
- name: steps::clear_target_dir_if_large
|
||||
run: ./script/clear-target-dir-if-larger-than 250
|
||||
- name: steps::setup_sccache
|
||||
|
|
@ -159,7 +159,7 @@ jobs:
|
|||
mkdir -p ./../.cargo
|
||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -191,7 +191,7 @@ jobs:
|
|||
mkdir -p ./../.cargo
|
||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -257,7 +257,7 @@ jobs:
|
|||
env:
|
||||
ACTIONLINT_BIN: ${{ steps.get_actionlint.outputs.executable }}
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
|
|||
4
.github/workflows/release_nightly.yml
vendored
4
.github/workflows/release_nightly.yml
vendored
|
|
@ -410,7 +410,7 @@ jobs:
|
|||
with:
|
||||
clean: false
|
||||
- name: steps::cache_nix_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: nix
|
||||
- name: nix_build::build_nix::install_nix
|
||||
|
|
@ -444,7 +444,7 @@ jobs:
|
|||
with:
|
||||
clean: false
|
||||
- name: steps::cache_nix_store_macos
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
path: ~/nix-cache
|
||||
- name: nix_build::build_nix::install_nix
|
||||
|
|
|
|||
2
.github/workflows/run_agent_evals.yml
vendored
2
.github/workflows/run_agent_evals.yml
vendored
|
|
@ -28,7 +28,7 @@ jobs:
|
|||
with:
|
||||
clean: false
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
|
|||
4
.github/workflows/run_bundling.yml
vendored
4
.github/workflows/run_bundling.yml
vendored
|
|
@ -278,7 +278,7 @@ jobs:
|
|||
with:
|
||||
clean: false
|
||||
- name: steps::cache_nix_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: nix
|
||||
- name: nix_build::build_nix::install_nix
|
||||
|
|
@ -310,7 +310,7 @@ jobs:
|
|||
with:
|
||||
clean: false
|
||||
- name: steps::cache_nix_store_macos
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
path: ~/nix-cache
|
||||
- name: nix_build::build_nix::install_nix
|
||||
|
|
|
|||
4
.github/workflows/run_cron_unit_evals.yml
vendored
4
.github/workflows/run_cron_unit_evals.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
mkdir -p ./../.cargo
|
||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -38,7 +38,7 @@ jobs:
|
|||
- name: steps::download_wasi_sdk
|
||||
run: ./script/download-wasi-sdk
|
||||
- name: steps::cargo_install_nextest
|
||||
uses: taiki-e/install-action@nextest
|
||||
uses: taiki-e/install-action@921e2c9f7148d7ba14cd819f417db338f63e733c
|
||||
- name: steps::clear_target_dir_if_large
|
||||
run: ./script/clear-target-dir-if-larger-than 250
|
||||
- name: steps::setup_sccache
|
||||
|
|
|
|||
30
.github/workflows/run_tests.yml
vendored
30
.github/workflows/run_tests.yml
vendored
|
|
@ -128,7 +128,7 @@ jobs:
|
|||
with:
|
||||
clean: false
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -212,7 +212,7 @@ jobs:
|
|||
mkdir -p ./../.cargo
|
||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -247,7 +247,7 @@ jobs:
|
|||
mkdir -p ./../.cargo
|
||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -278,7 +278,7 @@ jobs:
|
|||
mkdir -p ./../.cargo
|
||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -356,7 +356,7 @@ jobs:
|
|||
mkdir -p ./../.cargo
|
||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -369,7 +369,7 @@ jobs:
|
|||
with:
|
||||
node-version: '20'
|
||||
- name: steps::cargo_install_nextest
|
||||
uses: taiki-e/install-action@nextest
|
||||
uses: taiki-e/install-action@921e2c9f7148d7ba14cd819f417db338f63e733c
|
||||
- name: steps::clear_target_dir_if_large
|
||||
run: ./script/clear-target-dir-if-larger-than 250
|
||||
- name: steps::setup_sccache
|
||||
|
|
@ -411,7 +411,7 @@ jobs:
|
|||
mkdir -p ./../.cargo
|
||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -420,7 +420,7 @@ jobs:
|
|||
with:
|
||||
node-version: '20'
|
||||
- name: steps::cargo_install_nextest
|
||||
uses: taiki-e/install-action@nextest
|
||||
uses: taiki-e/install-action@921e2c9f7148d7ba14cd819f417db338f63e733c
|
||||
- name: steps::clear_target_dir_if_large
|
||||
run: ./script/clear-target-dir-if-larger-than 300
|
||||
- name: steps::setup_sccache
|
||||
|
|
@ -453,7 +453,7 @@ jobs:
|
|||
with:
|
||||
clean: false
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -501,7 +501,7 @@ jobs:
|
|||
mkdir -p ./../.cargo
|
||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -542,7 +542,7 @@ jobs:
|
|||
mkdir -p ./../.cargo
|
||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -580,7 +580,7 @@ jobs:
|
|||
with:
|
||||
clean: false
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -619,7 +619,7 @@ jobs:
|
|||
mkdir -p ./../.cargo
|
||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -661,7 +661,7 @@ jobs:
|
|||
with:
|
||||
clean: false
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -689,7 +689,7 @@ jobs:
|
|||
env:
|
||||
ACTIONLINT_BIN: ${{ steps.get_actionlint.outputs.executable }}
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
|
|||
4
.github/workflows/run_unit_evals.yml
vendored
4
.github/workflows/run_unit_evals.yml
vendored
|
|
@ -32,7 +32,7 @@ jobs:
|
|||
mkdir -p ./../.cargo
|
||||
cp ./.cargo/ci-config.toml ./../.cargo/config.toml
|
||||
- name: steps::cache_rust_dependencies_namespace
|
||||
uses: namespacelabs/nscloud-cache-action@v1
|
||||
uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9
|
||||
with:
|
||||
cache: rust
|
||||
path: ~/.rustup
|
||||
|
|
@ -41,7 +41,7 @@ jobs:
|
|||
- name: steps::download_wasi_sdk
|
||||
run: ./script/download-wasi-sdk
|
||||
- name: steps::cargo_install_nextest
|
||||
uses: taiki-e/install-action@nextest
|
||||
uses: taiki-e/install-action@921e2c9f7148d7ba14cd819f417db338f63e733c
|
||||
- name: steps::clear_target_dir_if_large
|
||||
run: ./script/clear-target-dir-if-larger-than 250
|
||||
- name: steps::setup_sccache
|
||||
|
|
|
|||
|
|
@ -42,7 +42,11 @@ pub fn run_perf(
|
|||
}
|
||||
|
||||
fn install_hyperfine() -> Step<Use> {
|
||||
named::uses("taiki-e", "install-action", "hyperfine")
|
||||
named::uses(
|
||||
"taiki-e",
|
||||
"install-action",
|
||||
"b4f2d5cb8597b15997c8ede873eb6185efc5f0ad", // hyperfine
|
||||
)
|
||||
}
|
||||
|
||||
fn compare_runs(head: &WorkflowInput, base: &WorkflowInput) -> Step<Run> {
|
||||
|
|
|
|||
|
|
@ -145,7 +145,12 @@ fn create_version_label(
|
|||
}
|
||||
|
||||
fn create_version_tag(tag: &StepOutput, generated_token: StepOutput) -> Step<Use> {
|
||||
named::uses("actions", "github-script", "v7").with(
|
||||
named::uses(
|
||||
"actions",
|
||||
"github-script",
|
||||
"f28e40c7f34bde8b3046d885e986cb6290c5673b", // v7
|
||||
)
|
||||
.with(
|
||||
Input::default()
|
||||
.add(
|
||||
"script",
|
||||
|
|
@ -413,7 +418,11 @@ fn enable_automerge_if_staff(
|
|||
pull_request_number: StepOutput,
|
||||
generated_token: StepOutput,
|
||||
) -> Step<Use> {
|
||||
named::uses("actions", "github-script", "v7")
|
||||
named::uses(
|
||||
"actions",
|
||||
"github-script",
|
||||
"f28e40c7f34bde8b3046d885e986cb6290c5673b", // v7
|
||||
)
|
||||
.add_with(("github-token", generated_token.to_string()))
|
||||
.add_with((
|
||||
"script",
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ pub(crate) fn extension_workflow_rollout() -> Workflow {
|
|||
|
||||
fn fetch_extension_repos(filter_repos_input: &WorkflowInput) -> (NamedJob, JobOutput, JobOutput) {
|
||||
fn get_repositories(filter_repos_input: &WorkflowInput) -> (Step<Use>, StepOutput) {
|
||||
let step = named::uses("actions", "github-script", "v7")
|
||||
let step = named::uses("actions", "github-script", "f28e40c7f34bde8b3046d885e986cb6290c5673b")
|
||||
.id("list-repos")
|
||||
.add_with((
|
||||
"script",
|
||||
|
|
|
|||
|
|
@ -177,7 +177,11 @@ pub fn cargo_fmt() -> Step<Run> {
|
|||
}
|
||||
|
||||
pub fn cargo_install_nextest() -> Step<Use> {
|
||||
named::uses("taiki-e", "install-action", "nextest")
|
||||
named::uses(
|
||||
"taiki-e",
|
||||
"install-action",
|
||||
"921e2c9f7148d7ba14cd819f417db338f63e733c", // nextest
|
||||
)
|
||||
}
|
||||
|
||||
pub fn setup_cargo_config(platform: Platform) -> Step<Run> {
|
||||
|
|
@ -230,9 +234,13 @@ pub fn install_rustup_target(target: &str) -> Step<Run> {
|
|||
}
|
||||
|
||||
pub fn cache_rust_dependencies_namespace() -> Step<Use> {
|
||||
named::uses("namespacelabs", "nscloud-cache-action", "v1")
|
||||
.add_with(("cache", "rust"))
|
||||
.add_with(("path", "~/.rustup"))
|
||||
named::uses(
|
||||
"namespacelabs",
|
||||
"nscloud-cache-action",
|
||||
"a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9", // v1
|
||||
)
|
||||
.add_with(("cache", "rust"))
|
||||
.add_with(("path", "~/.rustup"))
|
||||
}
|
||||
|
||||
pub fn setup_sccache(platform: Platform) -> Step<Run> {
|
||||
|
|
@ -259,14 +267,24 @@ pub fn show_sccache_stats(platform: Platform) -> Step<Run> {
|
|||
}
|
||||
|
||||
pub fn cache_nix_dependencies_namespace() -> Step<Use> {
|
||||
named::uses("namespacelabs", "nscloud-cache-action", "v1").add_with(("cache", "nix"))
|
||||
named::uses(
|
||||
"namespacelabs",
|
||||
"nscloud-cache-action",
|
||||
"a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9", // v1
|
||||
)
|
||||
.add_with(("cache", "nix"))
|
||||
}
|
||||
|
||||
pub fn cache_nix_store_macos() -> Step<Use> {
|
||||
// On macOS, `/nix` is on a read-only root filesystem so nscloud's `cache: nix`
|
||||
// cannot mount or symlink there. Instead we cache a user-writable directory and
|
||||
// use nix-store --import/--export in separate steps to transfer store paths.
|
||||
named::uses("namespacelabs", "nscloud-cache-action", "v1").add_with(("path", "~/nix-cache"))
|
||||
named::uses(
|
||||
"namespacelabs",
|
||||
"nscloud-cache-action",
|
||||
"a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9", // v1
|
||||
)
|
||||
.add_with(("path", "~/nix-cache"))
|
||||
}
|
||||
|
||||
pub fn setup_linux() -> Step<Run> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue