GH Actions: clippy #19
Workflow file for this run
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: Run tests and validate version | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| validate-version: | |
| runs-on: ubuntu-latest | |
| container: rust:1.86-alpine | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Run pre-commit | |
| run: ./pre-commit | |
| shell: sh | |
| - name: Tests and demos | |
| run: rustup component add clippy | |
| cargo clippy | |
| cargo test | |
| cargo test --release | |
| rustup install nightly --profile minimal | |
| rustup +nightly component add miri | |
| cargo +nightly miri test | |
| demo-fat-lto/static_option_u8.sh | |
| demo-fat-lto/static_str.sh | |
| demo-fat-lto/literal_str.sh | |
| shell: sh |