Skip to content

Update Rust crate log to 0.4.21 - autoclosed #64

Update Rust crate log to 0.4.21 - autoclosed

Update Rust crate log to 0.4.21 - autoclosed #64

Workflow file for this run

name: Tests
on:
pull_request:
# complemented with branch protection on main this will
# need to complete successfully before we auto deploy from main
branches: main
env:
CARGO_TERM_COLOR: always
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: clippy
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Test
run: cargo test -- --nocapture
- name: Lint
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}