diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7b56e4e..517ede1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 diff --git a/justfile b/justfile index f0c087b..274565c 100644 --- a/justfile +++ b/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: