mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-22 22:59:27 +00:00
26 lines
629 B
YAML
26 lines
629 B
YAML
name: Lockbud
|
|
|
|
on: push
|
|
|
|
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
|