Prefix crate names with malachite-
#11
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: "Rust" | ||
on: | ||
push: | ||
pull_request: | ||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Rust toolchain | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
- name: Install cargo-nextest | ||
uses: taiki-e/install-action@cargo-hack | ||
- name: Build code | ||
working-directory: Code | ||
run: cargo nextest run --workspace --all-features --no-run | ||
- name: Run tests | ||
working-directory: Code | ||
run: cargo nextest run --workspace --all-features | ||
clippy: | ||
name: Clippy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Rust toolchain | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
components: clippy | ||
- uses: auguwu/clippy-action@1 | ||
working-directory: Code | ||
with: | ||
token: ${{secrets.GITHUB_TOKEN}} | ||
fmt: | ||
name: Formatting | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Rust toolchain | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
components: rustfmt | ||
- name: Check formatting | ||
working-directory: Code | ||
uses: actions-rust-lang/rustfmt@v1 |