Bump zerocopy from 0.8.48 to 0.8.49 (#31) #85
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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| permissions: | |
| checks: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install aarch64 toolchain | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| target: aarch64-unknown-none | |
| - name: Install armv7a toolchain | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| target: armv7a-none-eabi | |
| - name: Build | |
| run: cargo build | |
| - name: Build for armv7a-none-eabi | |
| run: cargo build --target=armv7a-none-eabi | |
| - name: Build for x86_64-unknown-linux-gnu | |
| run: cargo build --target=x86_64-unknown-linux-gnu | |
| - name: Run tests | |
| run: cargo test --target=x86_64-unknown-linux-gnu | |
| - name: Run clippy | |
| uses: actions-rs/clippy-check@v1 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Format Rust code | |
| run: cargo fmt --all -- --check |