Deny warnings in GitHub Actions main workflow build
type: testing
This commit is contained in:
parent
e91b419af5
commit
151d912156
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
|
@ -43,7 +43,8 @@ jobs:
|
|||
cargo --version
|
||||
cargo clippy --version
|
||||
- name: Build
|
||||
run: cargo build --all --verbose
|
||||
run: RUSTFLAGS="-D warnings" cargo build --all --verbose
|
||||
shell: bash
|
||||
- name: Test
|
||||
run: cargo test --all --verbose
|
||||
- name: Clippy
|
||||
|
|
2
justfile
2
justfile
|
@ -28,7 +28,7 @@ done BRANCH=`git rev-parse --abbrev-ref HEAD`:
|
|||
git checkout master
|
||||
git diff --no-ext-diff --quiet --exit-code
|
||||
git pull --rebase github master
|
||||
git diff --no-ext-diff --quiet --exit-code {{BRANCH}}
|
||||
git diff --no-ext-diff --quiet --exit-code {{BRANCH}} --
|
||||
git branch -D {{BRANCH}}
|
||||
|
||||
test:
|
||||
|
|
Loading…
Reference in New Issue
Block a user