Skip to content

⬆️ (deps): Bump clap from 4.4.6 to 4.4.17 #1449

⬆️ (deps): Bump clap from 4.4.6 to 4.4.17

⬆️ (deps): Bump clap from 4.4.6 to 4.4.17 #1449

Workflow file for this run

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/[email protected]
with:
profile: minimal
toolchain: stable
override: true
- name: Run cargo check
uses: actions-rs/[email protected]
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/[email protected]
with:
profile: minimal
toolchain: stable
override: true
- name: Run cargo test without default features
uses: actions-rs/[email protected]
with:
command: test
args: --no-default-features
- name: Run cargo test with all features
uses: actions-rs/[email protected]
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/[email protected]
with:
profile: minimal
toolchain: stable
override: true
- name: Run command line test
uses: actions-rs/[email protected]
with:
command: run
args: --release 26 8 4 0 1 --no-tui
- name: Run command line test with backjumping
uses: actions-rs/[email protected]
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/[email protected]
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Run cargo fmt
uses: actions-rs/[email protected]
with:
command: fmt
args: --all -- --check
- name: Run cargo clippy
uses: actions-rs/[email protected]
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/[email protected]
with:
profile: minimal
toolchain: stable
target: wasm32-unknown-unknown
override: true
- name: Run cargo check
uses: actions-rs/[email protected]
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/[email protected]
with:
profile: minimal
toolchain: stable
target: wasm32-unknown-unknown
override: true
components: clippy
- name: Run cargo clippy
uses: actions-rs/[email protected]
with:
command: clippy
args: --target wasm32-unknown-unknown --manifest-path web/Cargo.toml -- -D warnings