Skip to content

ICRC-25: Rename Network Error Category to Transport Channel #140

ICRC-25: Rename Network Error Category to Transport Channel

ICRC-25: Rename Network Error Category to Transport Channel #140

Workflow file for this run

name: CI
on: [pull_request]
jobs:
rust-checks:
runs-on: ubuntu-latest
strategy:
matrix:
ref-impl: [ ICRC-21 ]
steps:
- uses: actions/checkout@v4
- name: Install Rust
id: install-rust
run: |
rustup update stable --no-self-update
rustup component add rustfmt
rustup component add clippy
echo "cargo-version=$(cargo version)" >> $GITHUB_OUTPUT
- name: Cache Cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ matrix.ref-impl }}-${{ steps.install-rust.outputs.cargo-version }}-${{ hashFiles('**/Cargo.lock') }}
- name: Check Format
working-directory: reference-implementations/${{ matrix.ref-impl }}
run: cargo fmt --check
- name: Clippy
working-directory: reference-implementations/${{ matrix.ref-impl }}
run: cargo clippy --tests --benches -- -D clippy::all
- name: Test
working-directory: reference-implementations/${{ matrix.ref-impl }}
run: cargo test
env:
RUST_BACKTRACE: 1