gupaxx/.github/workflows/lockbud.yml
Cyrix126 3f88ae9c6d
Some checks failed
Typo / typo (push) Waiting to run
Rust / doc (ubuntu-latest) (push) Has been cancelled
Rust / check (ubuntu-latest) (push) Has been cancelled
Rust / fmt (push) Has been cancelled
Rust / test (macos-latest) (push) Has been cancelled
Rust / test (ubuntu-latest) (push) Has been cancelled
Rust / clippy (macos-latest) (push) Has been cancelled
Rust / clippy (ubuntu-latest) (push) Has been cancelled
Rust / check (macos-latest) (push) Has been cancelled
Rust / doc (macos-latest) (push) Has been cancelled
Lockbud / lockbud (push) Has been cancelled
fix: do not run CI for rust code when it is not modified
2024-11-06 12:54:49 +01:00

29 lines
668 B
YAML

name: Lockbud
on:
push:
paths-ignore:
- '**/*.md'
jobs:
test:
name: lockbud
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Generate code coverage
run: |
git clone https://github.com/BurtonQin/lockbud.git
cd lockbud
sed -i 's/2024-10-05/2024-10-11/g' rust-toolchain.toml
cargo install --path .
cd ..
cargo clean
cargo lockbud -k deadlock -l gupaxx &> >(tee log.out)
if grep -q "WARN" log.out; then
echo "Lockbud warnings found:"
echo "$output"
exit 1
fi