Skip to content

Merge pull request #58 from mikinovation/feature/neotree-reveal-curre… #18

Merge pull request #58 from mikinovation/feature/neotree-reveal-curre…

Merge pull request #58 from mikinovation/feature/neotree-reveal-curre… #18

name: CI for Rusty Book Manager
on:
push:
branches: [main]
pull_request:
paths:
- "sandbox/rusty-book-manager/**"
- ".github/workflows/rusty-book-manager-ci.yml"
jobs:
check:
name: Check
runs-on: ubuntu-latest
defaults:
run:
working-directory: sandbox/rusty-book-manager
steps:
- uses: actions/checkout@v4
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
with:
workspaces: "sandbox/rusty-book-manager"
- name: Install Rust toolchain
run: |
rustup toolchain install stable
- name: Install cargo-related tools
uses: taiki-e/install-action@v2
with:
tool: nextest,cargo-make
- name: Tests compile
run: cargo make test-ci --no-run --locked
- name: Test
run: cargo make test-ci
- name: Clippy
run: cargo make clippy-ci -- -Dwarnings
- name: Rustfmt
run: cargo make fmt -- --check