Skip to content

Bump serde_json from 1.0.108 to 1.0.109 #32

Bump serde_json from 1.0.108 to 1.0.109

Bump serde_json from 1.0.108 to 1.0.109 #32

Workflow file for this run

name: Test Core
on:
push:
# FIXME(qix-): DRY this up when\b\bif actions/runner#1182 is ever fixed.
paths:
- '.github/workflows/test-core.yml'
- 'minimap-core/**'
- '.rustfmt.toml'
- 'Cargo.toml'
- 'Cargo.lock'
pull_request:
paths:
- '.github/workflows/test-core.yml'
- 'minimap-core/**'
- '.rustfmt.toml'
- 'Cargo.toml'
- 'Cargo.lock'
jobs:
build:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-x86_64-unknown-linux-gnu
components: rustfmt, clippy, llvm-tools-preview
default: true
- name: Cache build artifacts
uses: swatinem/rust-cache@v2
with:
key: minimap-core-target
- name: Lint
run: cargo fmt --all --check
- name: Build <D>
run: cargo build --profile=dev -p minimap-core
- name: Build <R>
run: cargo build --profile=release -p minimap-core
- name: Clippy <D>
run: cargo clippy -p minimap-core --tests -- -D clippy::all
- name: Clippy <R>
run: cargo clippy -p minimap-core --tests --release -- -D clippy::all
- name: Test
run: cargo test -p minimap-core
- name: Doc
run: cargo doc -p minimap-core