Skip to content

Add Rust cache for tests in CI #3

Add Rust cache for tests in CI

Add Rust cache for tests in CI #3

Workflow file for this run

name: Docker Image CI
on:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Run lint
run: cargo fmt -- --check && cargo clippy --no-deps -- -D warnings
- name: Run tests
run: cargo test