commitd6fa2986ecAuthor: jutty <j@jutty.dev> Date: Sun Mar 1 03:18:50 2026 -0300 Add tag and push-unsafe recipes to justfile commit6a239e1708Author: jutty <j@jutty.dev> Date: Sun Mar 1 03:18:21 2026 -0300 Update roadmap commita3da368573Author: jutty <j@jutty.dev> Date: Thu Feb 26 20:56:48 2026 -0300 Cleanup CI testing files commitb56f53bdc2Author: jutty <j@jutty.dev> Date: Thu Feb 26 20:17:10 2026 -0300 CI: Adjust curl logging, add a job for internal networking tests commit435e478b01Author: jutty <j@jutty.dev> Date: Wed Feb 25 02:35:20 2026 -0300 CI: Move sha256sum calculation before registry upload commit727ea16769Author: jutty <j@jutty.dev> Date: Wed Feb 25 01:51:05 2026 -0300 CI: Add curl -f fail flag to extra tools binary fetching commit2ff7a6cf1bAuthor: jutty <j@jutty.dev> Date: Wed Feb 25 01:48:00 2026 -0300 CI: Make additional tooling move to /usr/local/bin verbose commitbf88f86bceAuthor: jutty <j@jutty.dev> Date: Wed Feb 25 01:40:32 2026 -0300 CI: Adapt to cargo-audit outlier URL structure commit291081359eAuthor: jutty <j@jutty.dev> Date: Wed Feb 25 01:29:13 2026 -0300 CI: Deduplicate additional tool fetching While this moves the source of truth for CI tooling versions to somewhere outside the workflow definitions, it also avoids duplication and keeps debug (check.yaml) and production (publish.yaml) verifications fully independent. commit7d2a234fc3Author: jutty <j@jutty.dev> Date: Wed Feb 25 00:32:51 2026 -0300 Add cargo-audit security assessment commited30ee7b75Author: jutty <j@jutty.dev> Date: Thu Feb 19 02:06:42 2026 -0300 CI: Add wildcard branch to check workflow
42 lines
1.4 KiB
Bash
Executable file
42 lines
1.4 KiB
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
set -eu
|
|
|
|
JUST_VERSION="1.45.0"
|
|
JUST_SHA256SUM="dc3f958aaf8c6506dd90426e9b03f86dd15e74a6467ee0e54929f750af3d9e49"
|
|
CARGO_LLVM_COV_VERSION="0.6.21"
|
|
CARGO_LLVM_COV_SHA256SUM="57f491aedf7cdb261538ceb49cbb1ee9d27df7ca205a5e1a009caaf5cb911afb"
|
|
CARGO_AUDIT_VERSION="0.22.1"
|
|
CARGO_AUDIT_TAG="cargo-audit%2Fv$CARGO_AUDIT_VERSION"
|
|
CARGO_AUDIT_SHA256SUM="1890badd5f15831a9af4b074399fcd21e6f7c0fe42c84e9254cdffc9f813765c"
|
|
|
|
TRIPLE="x86_64-unknown-linux-gnu"
|
|
TRIPLE_MUSL="x86_64-unknown-linux-musl"
|
|
|
|
fetch() {
|
|
repo="$1"; tag="$2"; filename="$3"; digest="$4"; binary="$5"
|
|
|
|
[ -d /tmp/tools ] || mkdir -p /tmp/tools
|
|
|
|
curl -fsSLO --output-dir /tmp \
|
|
-w '%{stderr}HTTP %{response_code} %{url}\n' \
|
|
"https://github.com/$repo/releases/download/$tag/$filename"
|
|
|
|
printf '%s %s\n' "$digest" "/tmp/$filename" > /tmp/digest
|
|
sha256sum --check /tmp/digest
|
|
tar xf "/tmp/$filename" -C /tmp/tools
|
|
find /tmp/tools -type f -executable -name "$binary" \
|
|
-exec mv -v '{}' /usr/local/bin ';'
|
|
}
|
|
|
|
fetch casey/just "$JUST_VERSION" \
|
|
"just-$JUST_VERSION-$TRIPLE_MUSL.tar.gz" \
|
|
"$JUST_SHA256SUM" just
|
|
|
|
fetch taiki-e/cargo-llvm-cov "v$CARGO_LLVM_COV_VERSION" \
|
|
"cargo-llvm-cov-$TRIPLE.tar.gz" \
|
|
"$CARGO_LLVM_COV_SHA256SUM" cargo-llvm-cov
|
|
|
|
fetch rustsec/rustsec "$CARGO_AUDIT_TAG" \
|
|
"cargo-audit-$TRIPLE-v$CARGO_AUDIT_VERSION.tgz" \
|
|
"$CARGO_AUDIT_SHA256SUM" cargo-audit
|