Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,5 +280,6 @@ jobs:
run: |
pnpm run test:security-compliance
pnpm run test:release-cli-version
pnpm run test:mirror-cli-r2
pnpm run test:install-cli
pnpm run security-compliance
12 changes: 11 additions & 1 deletion .github/workflows/mirror-cli-r2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,23 @@ jobs:
env:
VERSION: ${{ steps.rel.outputs.version }}
R2_PUBLIC_BASE_URL: ${{ secrets.R2_PUBLIC_BASE_URL }}
# The installer defaults to AM_VERIFY_ATTESTATION=auto and `gh` is
# present on runners, so it runs `gh attestation verify --repo
# atomicstrata/atomicmemory`. Without a token gh refuses outright and
# the whole verification fails. Same token the download step uses to
# reach the public repo from here.
GH_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
ver="$VERSION"
base="${R2_PUBLIC_BASE_URL:-https://get.atomicstrata.ai}"
base="${base%/}"
# Invoke through `sh`: release assets downloaded from GitHub do not
# keep their executable bit, so calling dist/install.sh directly
# exits 126 (Permission denied). This also matches how users consume
# it (`curl ... | sh`).
AM_BASE_URL="${base}" AM_VERSION="${ver}" \
dist/install.sh --bin-dir "$HOME/.am/bin" --no-modify-path
sh dist/install.sh --bin-dir "$HOME/.am/bin" --no-modify-path
got="$("$HOME/.am/bin/am" --version)"
expected="am ${ver}"
if [ "$got" != "$expected" ]; then
Expand Down
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ lto = "thin"
codegen-units = 1

[workspace.package]
version = "0.2.0"
version = "0.2.1"
edition = "2024"
rust-version = "1.88"
license = "Apache-2.0"
Expand All @@ -25,7 +25,7 @@ publish = false
[workspace.dependencies]
async-trait = "0.1.89"
axum = { version = "0.8.9", features = ["macros", "json", "tokio"] }
tokio = { version = "1.52.3", features = ["full"] }
tokio = { version = "1.52.3", features = ["full", "test-util"] }
reqwest = { version = "0.13.3", default-features = false, features = [
"rustls",
"json",
Expand Down
Loading
Loading