This repository was archived by the owner on Nov 23, 2025. It is now read-only.
Merge pull request #45 from gz/dependabot/cargo/xmas-elf-0.10 #59
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: Standard checks | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| rust: | |
| - stable | |
| - nightly | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions-rs/toolchain@v1.0.7 | |
| with: | |
| profile: minimal | |
| toolchain: ${{ matrix.rust }} | |
| override: true | |
| components: rustfmt, clippy | |
| - uses: actions-rs/cargo@v1.0.3 | |
| with: | |
| command: build | |
| - uses: actions-rs/cargo@v1.0.3 | |
| with: | |
| command: build | |
| args: --all-features | |
| - uses: actions-rs/cargo@v1.0.3 | |
| with: | |
| command: test | |
| - uses: actions-rs/cargo@v1.0.3 | |
| with: | |
| command: fmt | |
| args: --all -- --check | |
| - name: Run clippy | |
| uses: actions-rs/clippy-check@v1 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} |