Initial: hello world + Gitea Actions cache workflow
Some checks failed
Rust Build Cache Test / build (push) Failing after 14s
Some checks failed
Rust Build Cache Test / build (push) Failing after 14s
This commit is contained in:
16
README.md
Normal file
16
README.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# rust-hello-world
|
||||
|
||||
Hello world Rust project for verifying Gitea Actions build cache.
|
||||
|
||||
## What this tests
|
||||
|
||||
1. `go-hashfiles` generates a hash from `Cargo.lock` and `Cargo.toml`
|
||||
2. `actions/cache@v3` caches `~/.cargo/registry`, `~/.cargo/git`, and `target`
|
||||
3. Subsequent runs should hit the cache and skip recompilation
|
||||
|
||||
## Run locally
|
||||
|
||||
```bash
|
||||
cargo build
|
||||
cargo run
|
||||
```
|
||||
Reference in New Issue
Block a user