Skip to content

Support for lifetimes in receiver parameters #107

Support for lifetimes in receiver parameters

Support for lifetimes in receiver parameters #107

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