Skip to content

Merge branch 'release/2.4.1' into release/2.4.2 #67

Merge branch 'release/2.4.1' into release/2.4.2

Merge branch 'release/2.4.1' into release/2.4.2 #67

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.76
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.76
with:
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --all-targets --all-features
build:
runs-on: ubuntu-latest
needs: [fmt, clippy]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.76
- uses: Swatinem/rust-cache@v2
- run: cargo build --all --release
test:
runs-on: ubuntu-latest
needs: [fmt, clippy]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.76
- uses: Swatinem/rust-cache@v2
- name: Setup Scarb
uses: software-mansion/setup-scarb@v1
<<<<<<< HEAD

Check failure on line 51 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yaml

Invalid workflow file

You have an error in your yaml syntax on line 51
with:
scarb-version: "2.4.2"
=======
>>>>>>> main
- run: cargo test --all-features