Skip to content

wrapper: Load libraries globally instead of relative to $PWD #438

wrapper: Load libraries globally instead of relative to $PWD

wrapper: Load libraries globally instead of relative to $PWD #438

Workflow file for this run

on: [push, pull_request]
name: Continuous integration
jobs:
check:
name: Check and Lint
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
rust: [stable]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
# https://github.com/actions/cache/blob/main/examples.md#rust---cargo
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Cargo check
run: cargo check --workspace --all-targets
- name: Cargo fmt
run: cargo fmt --all -- --check
- name: Cargo clippy
run: cargo clippy --workspace --all-targets -- -D warnings