@@ 1,8 1,4 @@
image: fedora/40
-packages:
- - nodejs
- - npm
- - rsync
sources:
- https://git.sr.ht/~claxxx/yafig
tasks:
@@ 10,25 6,25 @@ tasks:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. "$HOME/.cargo/env"
- build: |
- cd yahig
+ cd yafig
cargo build
- lint: |
- cd yahig
+ cd yafig
rustup component add clippy
cargo clippy -- -D warnings
- format: |
- cd yahig
+ cd yafig
rustup component add rustfmt
cargo fmt -- --check
- test: |
- cd yahig
+ cd yafig
cargo test
- coverage: |
- cd yahig
+ cd yafig
cargo install cargo-tarpaulin
cargo tarpaulin --ignore-tests
- audit: |
- cd yahig
+ cd yafig
cargo install cargo-audit
cargo audit --ignore RUSTSEC-2023-0071