refactor: split utils module #165
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
name: Test and Validate | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
test: | |
name: Test Debug Mode | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Cargo test | |
run: | | |
cargo test | |
test-release: | |
name: Test Release Mode | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Cargo test | |
run: | | |
cargo test --release | |
format: | |
name: Check Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Format check | |
run: | | |
cargo fmt --check | |
clippy: | |
name: Clippy Debug Mode | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run clippy | |
run: | | |
cargo clippy -- -D warnings | |
clippy_release: | |
name: Clippy Release Mode | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run clippy | |
run: | | |
cargo clippy --release -- -D warnings | |
build: | |
name: Build Check Debug Mode | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build check | |
run: | | |
cargo build | |
build-release: | |
name: Build Check Release Mode | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build check | |
run: | | |
cargo build --release |