chore(deps): update git2 to 0.19.0 #1315
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: Pull Request | |
on: | |
pull_request: | |
push: # run CI/CD against master as well, to generate cache | |
branches: | |
- master | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- uses: baptiste0928/cargo-install@v2 | |
with: | |
crate: cargo-make | |
- name: Test | |
run: cargo make test | |
- name: Build Release | |
run: cargo make build --release | |
- name: Run | |
run: cargo run --release -- --version | |
lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy | |
- uses: Swatinem/rust-cache@v2 | |
- uses: baptiste0928/cargo-install@v2 | |
with: | |
crate: cargo-make | |
- run: cargo make lint-stable -- --deny warnings | |
docs: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- run: cargo doc | |
format: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: nightly | |
components: rustfmt | |
- uses: Swatinem/rust-cache@v2 | |
- uses: baptiste0928/cargo-install@v2 | |
with: | |
crate: cargo-make | |
- run: cargo make format | |
coverage: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: nightly | |
- uses: Swatinem/rust-cache@v2 | |
- uses: baptiste0928/cargo-install@v2 | |
with: | |
crate: cargo-tarpaulin | |
- name: Run cargo-tarpaulin | |
run: | | |
cargo +nightly tarpaulin --ignore-tests --line --output-dir coverage --timeout 10 --out Lcov | |
- name: Post to Coveralls | |
uses: coverallsapp/github-action@v2 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: "coverage/lcov.info" | |
macos: | |
name: macos | |
runs-on: macos-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- uses: baptiste0928/cargo-install@v2 | |
with: | |
crate: cargo-make | |
- name: Test | |
run: cargo make test | |
- name: Build Release | |
run: cargo make build --release | |
- name: Run | |
run: cargo run --release -- --version | |
windows: | |
name: windows | |
runs-on: windows-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Test | |
env: | |
RUSTFLAGS: '--cap-lints warn' | |
run: cargo test --target x86_64-pc-windows-msvc | |
- name: Build and Run | |
env: | |
RUSTFLAGS: '--cap-lints warn' | |
run: cargo run --target x86_64-pc-windows-msvc --release -- --version |