mirror of
https://github.com/actix/actix-extras.git
synced 2024-12-18 01:33:59 +01:00
29 lines
584 B
YAML
29 lines
584 B
YAML
|
name: Clippy and rustfmt check
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
pull_request:
|
||
|
|
||
|
jobs:
|
||
|
clippy_check:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@master
|
||
|
- uses: actions-rs/toolchain@v1
|
||
|
with:
|
||
|
toolchain: nightly
|
||
|
components: clippy, rustfmt
|
||
|
override: true
|
||
|
- name: Clippy
|
||
|
uses: actions-rs/cargo@v1
|
||
|
with:
|
||
|
command: clippy
|
||
|
args: --all-features
|
||
|
- name: rustfmt
|
||
|
uses: actions-rs/cargo@v1
|
||
|
with:
|
||
|
command: fmt
|
||
|
args: --all -- --check
|