Merge pull request #7 from Eyob94/chore/add_changelog #18
This file contains 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: ci | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
CARGO_INCREMENTAL: 0 # TODO: remove this when we cache the builds | |
RUSTFLAGS: "-Dwarnings" | |
jobs: | |
ci: | |
runs-on: ${{ matrix.runner }} | |
strategy: | |
fail-fast: false | |
matrix: | |
runner: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Rust | |
run: rustup update | |
- name: build | |
run: cargo build --all --release | |
- name: check | |
run: cargo check --all --release | |
- name: clippy | |
run: cargo clippy --all-targets --release | |
- name: doc | |
run: cargo doc --workspace --all-features --no-deps | |
- name: test | |
run: cargo test --release --all-targets | |
shell: bash |