Skip to content

Lints to ensure link text for EIPs should match the EIP's number #374

Lints to ensure link text for EIPs should match the EIP's number

Lints to ensure link text for EIPs should match the EIP's number #374

Workflow file for this run

on:
workflow_dispatch:
push:
pull_request:
name: ci
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.69.0
override: true
- uses: actions-rs/cargo@v1
with:
command: check
args: --all --all-features --locked
test:
name: Test Suite
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.69.0
override: true
- run: cargo install wasm-pack --version 0.12.1 --locked
- uses: actions-rs/cargo@v1
with:
command: test
args: --all --no-default-features --locked
- uses: actions-rs/cargo@v1
with:
command: test
args: --all --all-features --locked
- run: wasm-pack test --node --all --locked
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.69.0
override: true
- run: rustup component add rustfmt clippy
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features -- --deny warnings