Skip to content

chore: Add private tests which require auth to merge queue #4

chore: Add private tests which require auth to merge queue

chore: Add private tests which require auth to merge queue #4

Workflow file for this run

name: Continuous integration
on:
pull_request:
merge_group:
jobs:
check:
name: Check
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- nightly
- "1.70.0" # MSRV
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install toolchain
uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
- name: Check
uses: actions-rs/cargo@v1
with:
command: check
args: --verbose
test:
name: Test Suite
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- nightly
- "1.70.0" # MSRV
include:
- rust: nightly
experimental: true
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install toolchain
uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
- name: Run tests
run: cargo test
lints:
name: Lints
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy
- name: Run cargo fmt
run: cargo fmt --all -- --check
- name: Run cargo clippy
run: cargo clippy -- -D warnings