Skip to content

Add span methods to all item types #91

Add span methods to all item types

Add span methods to all item types #91

Workflow file for this run

on:
push:
branches:
- master
pull_request:
jobs:
rustfmt:
runs-on: ubuntu-latest
name: cargo fmt
steps:
- uses: actions/checkout@v2
- name: install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: rustfmt
override: true
- name: cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
test:
runs-on: ubuntu-latest
name: cargo test
steps:
- uses: actions/checkout@v2
- name: restore cache
uses: Swatinem/rust-cache@v1
- name: install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
profile: minimal
override: true
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
clippy:
runs-on: ubuntu-latest
name: cargo clippy
steps:
- uses: actions/checkout@v2
- name: restore cache
uses: Swatinem/rust-cache@v1
- name: install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
profile: minimal
override: true
- name: cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings