feat: emit workflow errors earlier (#502) #1251
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: code quality | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ (github.ref == 'refs/heads/main' && github.sha) || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
clippy_check: | |
runs-on: namespace-profile-standard-ubuntu22-amd64 | |
steps: | |
- name: clone code | |
uses: namespacelabs/nscloud-checkout-action@v4 | |
with: | |
submodules: recursive | |
- name: Install Protoc | |
run: sudo apt-get install -y protobuf-compiler | |
- run: rustup component add clippy | |
- uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --workspace --features test_ci --exclude grit-wasm-bindings -- -D warnings |