name: "ci-fmt"
on:
pull_request:
push:
branches:
- master
- main
- staging - trying jobs:
fmt:
name: fmt
runs-on: ubuntu-latest
steps:
- name: checkout_repository
uses: actions/checkout@v3
- name: install_rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: check_formatting
run: cargo fmt --all -- --check
- name: check_formatting_integration
run: cargo fmt --manifest-path faraday-tests-integration/Cargo.toml --all -- --check
- name: check_formatting_ui
run: cargo fmt --manifest-path faraday-tests-ui/Cargo.toml --all -- --check