COCOS-192 - Add support for attested TLS (#279) #22
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
| name: Rust CI Pipeline | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "scripts/backend_info/**" | |
| - ".github/workflows/rust.yaml" | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - "scripts/backend_info/**" | |
| - ".github/workflows/rust.yaml" | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| rust-check: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./scripts/backend_info | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Check cargo | |
| run: cargo check --release --all-targets | |
| - name: Check formatting | |
| run: cargo fmt --all -- --check | |
| - name: Run linter | |
| run: cargo clippy -- -D warnings | |
| - name: Build for all features | |
| run: cargo build --release --all-features |