Verify generic sccache action
All checks were successful
Rust Build / build (push) Successful in 41s

This commit is contained in:
2026-05-05 20:34:48 -07:00
parent 7d71b01b62
commit 6cbd483b73

View File

@@ -17,14 +17,25 @@ jobs:
- name: Checkout code
uses: https://gitea.com/actions/checkout@v4
- name: Setup Rust + Cache
- name: Setup Rust + sccache
id: rust
uses: https://git.ericxliu.me/eric/actions-rust/.gitea/actions/rust-cache@main
with:
toolchain: stable
sccache-bucket: sccache
sccache-region: auto
sccache-endpoint: https://s3.ericxliu.me
sccache-key-prefix: rust-hello-world/${{ runner.os }}-${{ runner.arch }}/stable
env:
AWS_ACCESS_KEY_ID: ${{ secrets.SCCACHE_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SCCACHE_AWS_SECRET_ACCESS_KEY }}
- name: Build
run: cargo build --verbose
- name: Run
run: cargo run
- name: Show sccache stats
if: always()
run: sccache --show-stats || true