From cd51eb8eb58ca8c893ba775707537bc475e54e4a Mon Sep 17 00:00:00 2001 From: Miles Liu Date: Fri, 13 Oct 2023 14:13:10 +0800 Subject: [PATCH] ci: code-quality workflow doesn't fail on clippy errors --- .github/workflows/code-quality.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index abcfd90ab..0a619e097 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -4,6 +4,10 @@ name: Code Quality on: [push, pull_request] +env: + # * style job configuration + STYLE_FAIL_ON_FAULT: true ## (bool) fail the build if a style job contains a fault (error or warning); may be overridden on a per-job basis + permissions: contents: read # to fetch code (actions/checkout)