Skip to content
Merged
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
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ jobs:
docker run -d --name s3 -p 59000:9000 \
-e RUSTFS_ACCESS_KEY=visualci -e RUSTFS_SECRET_KEY=visualci-dev-secret rustfs/rustfs:1.0.6
for _ in $(seq 1 30); do curl -s -o /dev/null http://127.0.0.1:59000/ && break; sleep 1; done
# Trial (c) on this job: rust-cache restores target/ (incremental state and our own crates), with kache behind
# it for dependency misses. Its key covers Cargo.lock and the toolchain; only main saves it, like kache.
- uses: Swatinem/rust-cache@v2
with:
workspaces: app
save-if: ${{ github.ref == 'refs/heads/main' }}
# Compile cache (kache, as Cargo's rustc wrapper): the R2 bucket every machine shares (KACHE_BUCKET), else the
# GitHub Actions cache. Only main writes it: the read-write key is a secret of the kache-write environment,
# which only main may use, so a pull request (whatever its ci.yml says) gets the read-only key.
Expand Down
Loading