Skip to content

Merge pull request #972 from NLnetLabs/obsolete-os #2024

Merge pull request #972 from NLnetLabs/obsolete-os

Merge pull request #972 from NLnetLabs/obsolete-os #2024

Workflow file for this run

name: ci
on:
push:
branches:
- main
- series-*
pull_request:
branches:
- main
- series-*
jobs:
test:
name: test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [1.70.0, stable, beta]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Rust
uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- if: matrix.rust == 'stable'
run: rustup component add clippy
- if: matrix.rust == 'stable'
run: cargo clippy -- -D warnings
- run: cargo build --verbose --locked
- run: cargo test --verbose