🐛 Avoid call unwrap
, use OsStr::to_string_lossy
instead for n…
#4926
Workflow file for this run
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
name: format | |
on: | |
pull_request: | |
push: | |
jobs: | |
rust_check_format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-rust | |
- name: run check format | |
run: cargo fmt --check | |
env: | |
RUST_BACKTRACE: 1 | |
rust_check_doc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup-rust | |
- name: run check doc | |
run: cargo doc --no-deps -p libpna -p pna | |
env: | |
RUST_BACKTRACE: 1 | |
RUSTFLAGS: -Dwarnings |