Deny warnings in GitHub Actions main workflow build

type: testing
This commit is contained in:
Casey Rodarmor 2020-03-19 19:23:17 -07:00
parent e91b419af5
commit 151d912156
No known key found for this signature in database
GPG Key ID: 556186B153EC6FE0
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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: