Skip to content

chore: do heavy lifting in trait default impl, cut scope in concrete … #15

chore: do heavy lifting in trait default impl, cut scope in concrete …

chore: do heavy lifting in trait default impl, cut scope in concrete … #15

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v2
- name: Check (All features)
run: cargo check --all-features
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v2
- name: Lint
run: cargo fmt --all --check
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v2
- name: Test
# need the release flag to test rln integration appropriately
run: cargo test --release --all-features