style: format missing files (#159) #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
jobs: | |
format_lint_check: | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: -D warnings | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check formatting | |
working-directory: rust | |
run: cargo fmt --all --check | |
- name: Check clippy for Linux | |
working-directory: rust | |
run: cargo clippy --all-targets --all-features | |
- name: Install FreeBSD target | |
run: rustup target add x86_64-unknown-freebsd | |
- name: Check clippy for FreeBSD | |
working-directory: rust | |
run: cargo clippy --all-targets --all-features --target x86_64-unknown-freebsd | |
- name: Check doc | |
working-directory: rust | |
run: cargo doc --no-deps --all-features |