Skip to content

fix(tests): Fix product_tests 1 & 2 with new params #37

fix(tests): Fix product_tests 1 & 2 with new params

fix(tests): Fix product_tests 1 & 2 with new params #37

Workflow file for this run

name: Rust CI
on:
push:
branches: "*"
pull_request:
branches: "*"
workflow_call:
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo check --verbose --workspace
test:
name: test
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo test --all-features --workspace
clippy:
name: linter
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: clippy
- run: cargo clippy -- -D warnings
format:
name: format
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- run: cargo fmt -- --check