Skip to content

Fix broken repository link (#850) #643

Fix broken repository link (#850)

Fix broken repository link (#850) #643

Workflow file for this run

name: core
on:
pull_request:
paths:
- "core/**"
- "derive/**"
- "Cargo.*"
push:
branches: main
defaults:
run:
working-directory: core
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"
jobs:
build:
strategy:
matrix:
platform:
- ubuntu-latest
- macos-latest
- windows-latest
rust:
- 1.74.0 # MSRV
- stable
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo build --release --no-default-features --lib
- run: cargo build --release --all-features
test:
strategy:
matrix:
platform:
- ubuntu-latest
- macos-latest
- windows-latest
rust:
- 1.74.0 # MSRV
- stable
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test --release
- run: cargo test --release --all-features