Skip to content

Merge pull request #23 from dcSpark/egostkin/from-bytes-cardano #77

Merge pull request #23 from dcSpark/egostkin/from-bytes-cardano

Merge pull request #23 from dcSpark/egostkin/from-bytes-cardano #77

Workflow file for this run

name: Rust linter and unit tests
on: [push]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Setup"
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
components: rustfmt, clippy
- name: "Format check"
uses: actions-rs/cargo@v1
with:
command: fmt
args: --check --manifest-path ./cardano/Cargo.toml --all
- name: "Linter checks"
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features --all-targets --manifest-path ./cardano/Cargo.toml -- --deny "clippy::all"
- name: "Check"
uses: actions-rs/cargo@v1
with:
command: check
args: --all-features --all-targets --manifest-path ./cardano/Cargo.toml
- name: "Test"
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features --all-targets --manifest-path ./cardano/Cargo.toml