Skip to content

Merge branch 'lint-ci' into 'master' #32

Merge branch 'lint-ci' into 'master'

Merge branch 'lint-ci' into 'master' #32

Workflow file for this run

name: ci
on:
push:
branches:
- master
jobs:
test:
name: test
runs-on: ${{ matrix.os }}
strategy:
matrix:
build:
# MSRV, stable, and next.
- pinned
- stable
- nightly
# Use nightly for these because that's what release does.
- win-msvc
- macos
include:
- build: pinned
os: ubuntu-22.04
rust: 1.48.0
- build: stable
os: ubuntu-22.04
rust: stable
- build: nightly
os: ubuntu-22.04
rust: nightly
- build: win-msvc
os: windows-2022
rust: nightly
- build: macos
os: macos-12
rust: nightly
env:
# Backtraces for panics.
RUST_BACKTRACE: 1
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- name: Build
run: cargo build --verbose
- name: Test
run: cargo test --verbose