check formatting

This commit is contained in:
nora 2022-03-06 17:05:19 +01:00
parent 1172ce0709
commit 1ef7b906ad
6 changed files with 52 additions and 15 deletions

View file

@ -14,17 +14,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check dashboard frontend formatting
uses: creyD/prettier_action@v4.2
with:
dry: true
prettier_options: --check amqp_dashboard/assets/* --ignore-path .gitignore
- name: Build
run: cargo build --verbose
- name: Run clippy -D clippy::all
run: cargo clippy --verbose -- -D clippy::all
- name: Check format
run: cargo +nightly fmt --verbose --all -- --check
run: cargo xtask check-fmt
- name: Run tests
run: cargo test --verbose --all
- name: Run client integration tests