Skip to content

fix(#64): vendor libgit2, update deps (#69) #121

fix(#64): vendor libgit2, update deps (#69)

fix(#64): vendor libgit2, update deps (#69) #121

Workflow file for this run

name: CI
on:
push:
branches: [ master, workflow-improvements ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: "-D warnings -W unreachable-pub -W rust-2021-compatibility"
RUSTDOCFLAGS: -Dwarnings
RUSTUP_MAX_RETRIES: 10
RUST_BACKTRACE: full
CI: 1
CARGO_NET_RETRY: 10
CARGO_INCREMENTAL: 0
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: apt update
run: sudo apt update
- name: apt install libsystemd-dev
run: sudo apt install -y --no-install-recommends libsystemd-dev
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Cache Dependencies
uses: Swatinem/rust-cache@ce325b60658c1b38465c06cc965b79baf32c1e72
- name: Build
run: cargo test --no-run --all-targets --all-features
- name: Run tests
run: cargo test --all-targets --all-features
- name: Install Clippy
run: rustup component add clippy --toolchain stable-x86_64-unknown-linux-gnu
- name: Clippy
run: cargo +stable clippy --all-targets --all-features
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Fmt
run: cargo fmt -- --check