Skip to content

Bump pest from 2.7.13 to 2.7.14 (#309) #753

Bump pest from 2.7.13 to 2.7.14 (#309)

Bump pest from 2.7.13 to 2.7.14 (#309) #753

Workflow file for this run

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
RUST_BACKTRACE: 1
jobs:
style-check:
name: Check Rust style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.80.0
components: rustfmt
- run: cargo fmt -- --check
stable-test:
name: Run most tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "macos-latest" ]
# Test on MSRV and stable.
toolchain: [ "1.75.0", "stable" ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- run: >
cargo +${{ matrix.toolchain }} test
--release
--verbose
--workspace
--exclude compile-errors
trybuild-test:
name: Run trybuild tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "macos-latest" ]
# Test on the pinned rust-toolchain version.
toolchain: [ "1.80.0" ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- run: >
cargo +${{ matrix.toolchain }} test
--release
--verbose
--package compile-errors
stable-test-no-support:
name: Test on DTrace-less systems
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "ubuntu-latest", "windows-latest" ]
# Test on MSRV and stable.
toolchain: [ "1.75.0", "stable" ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- run: >
cargo +${{ matrix.toolchain }} test
--release
--verbose
--workspace
--exclude does-it-work
--exclude test-json
--exclude test-unique-id
--exclude compile-errors
stable-test-no-op:
name: Test with probes disabled
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "macos-latest" ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- run: >
cargo +stable test
--release
--verbose
--no-default-features
--workspace
--exclude does-it-work
--exclude test-json
--exclude test-unique-id
--exclude compile-errors
recent-nightly:
name: Run tests on a recent nightly
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "macos-latest" ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2024-01-01
- run: >
cargo +nightly-2024-01-01 test
--release
--verbose
--workspace
--exclude compile-errors
--exclude dusty
recent-nightly-no-support:
name: Run tests on a recent nightly
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ "ubuntu-latest", "windows-latest" ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2024-01-01
- run: >
cargo +nightly-2024-01-01 test
--release
--verbose
--workspace
--exclude compile-errors
--exclude does-it-work
--exclude test-json
--exclude test-unique-id
--exclude dusty