Skip to content

chore(deps): bump git2 from 0.18.3 to 0.19.0 #41

chore(deps): bump git2 from 0.18.3 to 0.19.0

chore(deps): bump git2 from 0.18.3 to 0.19.0 #41

Workflow file for this run

name: Test
on:
- push
- pull_request
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache
uses: actions/cache@v2
timeout-minutes: 1
continue-on-error: true
with:
path: |
~/work/_temp/_github_home/.cargo/registry
~/work/_temp/_github_home/.cargo/git
target
key: ${{ github.job }}-${{ hashFiles('rust-toolchain.toml') }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ github.job }}-${{ hashFiles('rust-toolchain.toml') }}-${{ hashFiles('**/Cargo.lock') }}
${{ github.job }}-${{ hashFiles('rust-toolchain.toml') }}-
- name: Build
uses: ./ci/github-actions/arch-run
with:
command: cargo build --locked
- name: Test
uses: ./ci/github-actions/arch-run
with:
command: cargo test
- name: Clippy
uses: ./ci/github-actions/arch-run
with:
command: cargo clippy -- -D warnings
- name: Enable reading of cache
continue-on-error: true
uses: ./ci/github-actions/arch-run
with:
command: chmod -R a+rwX $HOME/.cargo target
fmt_check:
name: Fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Check code formatting
run: cargo fmt -- --check