⬆️ (deps): Bump serde_yaml from 0.9.25 to 0.9.31 #1461
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: Tests and Lints | |
on: | |
push: | |
branches-ignore: | |
- gh-pages | |
pull_request: | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1.0.7 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Run cargo check | |
uses: actions-rs/cargo@v1.0.3 | |
with: | |
command: check | |
args: --all-features | |
test: | |
name: Test Suite | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1.0.7 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Run cargo test without default features | |
uses: actions-rs/cargo@v1.0.3 | |
with: | |
command: test | |
args: --no-default-features | |
- name: Run cargo test with all features | |
uses: actions-rs/cargo@v1.0.3 | |
with: | |
command: test | |
args: --all-features | |
test-cli: | |
name: Test command line | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1.0.7 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Run command line test | |
uses: actions-rs/cargo@v1.0.3 | |
with: | |
command: run | |
args: --release 26 8 4 0 1 --no-tui | |
- name: Run command line test with backjumping | |
uses: actions-rs/cargo@v1.0.3 | |
with: | |
command: run | |
args: --release 26 8 4 0 1 --backjump --no-tui | |
lints: | |
name: Lints | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1.0.7 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
components: rustfmt, clippy | |
- name: Run cargo fmt | |
uses: actions-rs/cargo@v1.0.3 | |
with: | |
command: fmt | |
args: --all -- --check | |
- name: Run cargo clippy | |
uses: actions-rs/cargo@v1.0.3 | |
with: | |
command: clippy | |
args: -- -D warnings | |
check-wasm: | |
name: Check for Web Version | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1.0.7 | |
with: | |
profile: minimal | |
toolchain: stable | |
target: wasm32-unknown-unknown | |
override: true | |
- name: Run cargo check | |
uses: actions-rs/cargo@v1.0.3 | |
with: | |
command: check | |
args: --target wasm32-unknown-unknown --manifest-path web/Cargo.toml | |
lints-wasm: | |
name: Lints for Web Version | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1.0.7 | |
with: | |
profile: minimal | |
toolchain: stable | |
target: wasm32-unknown-unknown | |
override: true | |
components: clippy | |
- name: Run cargo clippy | |
uses: actions-rs/cargo@v1.0.3 | |
with: | |
command: clippy | |
args: --target wasm32-unknown-unknown --manifest-path web/Cargo.toml -- -D warnings |