Update config.rs #5
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 | |
| on: [push, pull_request] | |
| jobs: | |
| build_and_test: | |
| name: Rust Cargo CI on ${{matrix.os}} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| steps: | |
| - uses: actions/[email protected] | |
| - uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| - name: Cargo format | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: fmt | |
| args: --check | |
| - name: Cargo test | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: test | |
| - name: Cargo release + all feature build | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: build | |
| args: --release --all-features | |
| - name: Show development + release build sizes | |
| run: | | |
| ls -lh target/debug/ | |
| ls -lh target/release/ |