Skip to content

fix: should detect account class automatically (#50) #50

fix: should detect account class automatically (#50)

fix: should detect account class automatically (#50) #50

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
- run: cargo test --all-features