Add renovate.json #5
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: "Test Suite" | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
name: cargo test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install libarchive | |
run: sudo apt-get install -y libarchive-dev | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- run: cargo test --all-features | |
# Check formatting with rustfmt | |
check: | |
name: cargo clippy, cargo fmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install libarchive | |
run: sudo apt-get install -y libarchive-dev | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
components: clippy, rustfmt | |
- name: Rustfmt Check | |
uses: actions-rust-lang/rustfmt@v1 | |
- name: Run Clippy | |
run: cargo clippy --all-targets --all-features |