Merge pull request #382 from Dstack-TEE/dependabot/npm_and_yarn/kms/a… #933
This file contains hidden or 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
| # SPDX-FileCopyrightText: © 2024-2025 Phala Network <[email protected]> | |
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: Rust checks | |
| on: | |
| push: | |
| branches: [ master, next, dev-* ] | |
| pull_request: | |
| branches: [ master, next, dev-* ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| rust-checks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust | |
| uses: dtolnay/[email protected] | |
| with: | |
| components: clippy, rustfmt | |
| - name: Run Clippy | |
| run: cargo clippy -- -D warnings --allow unused_variables | |
| - name: Cargo fmt check | |
| run: cargo fmt --check --all | |
| - name: Run tests | |
| run: ./run-tests.sh |