mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 14:18:04 +08:00
Pin cargo-binstall and cargo-about and cross-reference all tool version pins (#4505)
* Pin cargo-binstall and cargo-about and cross-reference all tool version pins * Pin the cargo-binstall GitHub Action to its release tag * Use a version floor for cargo-about and drop the Nix sync notices
This commit is contained in:
@@ -54,6 +54,7 @@ fn requirements(task: &Task) -> Vec<Requirement> {
|
||||
command: "wasm-bindgen",
|
||||
args: &["--version"],
|
||||
name: "Wasm Bindgen",
|
||||
// NOTICE: keep in sync with the `wasm-bindgen` crate in `Cargo.toml` and the `wasm-bindgen-cli` version pinned in `.github/workflows/build.yml`, `.devcontainer/devcontainer.json`, `.nix/dev.nix`, and `.nix/pkgs/graphite.nix`
|
||||
version: Some("=0.2.121"),
|
||||
install: "cargo install -f wasm-bindgen-cli@0.2.121".into(),
|
||||
skip: Some(&|task| matches!(task.target, Target::Cli)),
|
||||
@@ -63,7 +64,9 @@ fn requirements(task: &Task) -> Vec<Requirement> {
|
||||
command: "cargo-about",
|
||||
args: &["--version"],
|
||||
name: "Cargo About",
|
||||
install: "cargo install cargo-about".into(),
|
||||
// NOTICE: keep in sync with the `cargo-about` version pinned in `.github/workflows/build.yml` and `.devcontainer/devcontainer.json`
|
||||
version: Some(">=0.9.2"),
|
||||
install: "cargo install -f cargo-about@0.9.2".into(),
|
||||
skip: Some(&|task| matches!(task.target, Target::Cli)),
|
||||
..Default::default()
|
||||
},
|
||||
|
||||
@@ -3,7 +3,7 @@ use crate::cmd::prelude::*;
|
||||
use crate::{install_dir, workspace_dir};
|
||||
|
||||
/// Pinned Binaryen release used by [`install_action`].
|
||||
/// NOTICE: keep in sync with the `BINARYEN_VERSION` pinned across the CI workflows, and update [`SHA256`] below.
|
||||
/// NOTICE: keep in sync with the Binaryen version pinned in `.github/workflows/build.yml` and `.devcontainer/devcontainer.json`, and update [`SHA256`] below.
|
||||
const VERSION: &str = "130";
|
||||
const SHA256: &[(&str, &str)] = &[
|
||||
("x86_64-windows", "cc09c874f4332d00aa32ab72745a9b98c9a172f795762f21d03e70638a3f7f4c"),
|
||||
|
||||
Reference in New Issue
Block a user