Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,35 @@ jobs:

clippy-lint:
runs-on: ubuntu-latest
strategy:
matrix:
# Lint with the quic feature off (default) and on, so neither
# configuration regresses.
features: ["", "--features quic"]
steps:
- uses: actions/checkout@v4
- name: Report cargo version
run: cargo --version
- name: Report Clippy version
run: cargo clippy -- --version
- name: Run Clippy Lints
run: cargo clippy -- -D warnings
run: cargo clippy ${{ matrix.features }} -- -D warnings

build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
# Build every target and run the tests with the quic feature off
# (default) and on.
features: ["", "--features quic"]
steps:
- uses: actions/checkout@v4
- name: Report cargo version
run: cargo --version
- name: Report rustc version
run: rustc --version
- name: Build
run: cargo build --all-targets --verbose
run: cargo build --all-targets ${{ matrix.features }} --verbose
- name: Run tests
run: cargo test --verbose
run: cargo test ${{ matrix.features }} --verbose
Loading
Loading