From 950d276ffd366620d5353eb2e8ad9ccd7996f8ec Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Tue, 15 Aug 2023 09:18:20 +0000 Subject: [PATCH] Merge pull request #888 from UniqueNetwork/ci/forbid-warnings Forbid warnings --- --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -44,10 +44,9 @@ - name: Install modules run: cd tests && yarn - name: Run ESLint - run: cd tests && yarn eslint --ext .ts,.js src/ + run: cd tests && yarn eslint --ext .ts,.js --max-warnings=0 src/ clippy: - if: ${{ false }} runs-on: [ self-hosted-ci ] steps: - uses: actions/checkout@v3.1.0 @@ -62,4 +61,6 @@ targets: wasm32-unknown-unknown components: rustfmt, clippy - name: Run cargo check - run: cargo clippy -- -Dwarnings + run: cargo clippy --features=quartz-runtime,unique-runtime,try-runtime,runtime-benchmarks --tests -- -Dwarnings + env: + SKIP_WASM_BUILD: '1' -- gitstuff