Skip to content

bug: Fix handling of CARGO_HOME (#30) #25

bug: Fix handling of CARGO_HOME (#30)

bug: Fix handling of CARGO_HOME (#30) #25

Workflow file for this run

name: ci
on: [push]
env:
CARGO_TERM_COLOR: always
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
rustfmt:
name: "📋 Check formatting"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "📋 Check formatting"
run: cargo fmt --all --check
clippy:
name: 📎 Clippy
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: ubuntu-latest
target: aarch64-unknown-linux-gnu
- os: windows-latest
- os: macos-latest
target: aarch64-apple-darwin
- os: macos-latest
target: x86_64-apple-darwin
steps:
- uses: actions/checkout@v4
- name: 📎 Clippy
run: cargo clippy --locked -- -D warnings
test:
name: 🧪 Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: 🧪 Run tests
run: cargo test --locked