Feat/gradient #528
Workflow file for this run
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
on: | |
merge_group: | |
pull_request: | |
push: | |
branches: | |
- master | |
env: | |
CARGO_INCREMENTAL: false | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: full | |
RUSTDOCFLAGS: -Dwarnings | |
name: CI | |
jobs: | |
lint: | |
name: rust code lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: nightly-2023-09-14 | |
components: rustfmt, clippy | |
- uses: Swatinem/rust-cache@v2 | |
- name: format style check | |
run: cargo fmt --all -- --check | |
- name: cargo clippy check | |
run: cargo clippy --all-targets --all-features -- -D warnings | |
- name: cargo check | |
run: cargo check | |
self-host: | |
name: Test Suite | |
needs: lint | |
uses: RibirX/share-workflows/.github/workflows/ribir-win-image-tests.yaml@main |