Skip to content

Remove CARGO_UNSTABLE_SPARSE_REGISTRY from GitHub actions. #215

Remove CARGO_UNSTABLE_SPARSE_REGISTRY from GitHub actions.

Remove CARGO_UNSTABLE_SPARSE_REGISTRY from GitHub actions. #215

Workflow file for this run

on: [push, pull_request]
name: Build and run tests
jobs:
build_and_test:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
rust:
- stable
- beta
- nightly
- 1.71.0 # MSRV
fail-fast: false
runs-on: ${{ matrix.os }}
env:
RUSTFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Build with default features
run: cargo build --verbose
- name: Tests with default features
run: cargo test --verbose
- name: Build with all features
run: cargo build --all-features --verbose
- name: Tests with all features
run: cargo test --all-features --verbose