Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"docs",
"feat",
"fix",
"merge",
"refactor",
"release",
"revert",
Expand Down
17 changes: 11 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

- uses: clechasseur/rs-clippy-check@v5
with:
args: --all-features -- --deny warnings
args: --features tpm -- --deny warnings

build:
strategy:
Expand All @@ -73,19 +73,24 @@ jobs:
- uses: Swatinem/rust-cache@v2

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
target: ${{ matrix.job.target }}
if: matrix.job.os != 'ubuntu-22.04'

- name: Install Rust toolchain (pinned for older glibc)
uses: dtolnay/rust-toolchain@1.93.0
with:
toolchain: stable
target: ${{ matrix.job.target }}
override: true
if: matrix.job.os == 'ubuntu-22.04'

- name: Build
shell: bash
run: cargo build --verbose
run: cargo build --verbose --features tpm

- name: Run tests
shell: bash
run: cargo test --verbose
run: cargo test --verbose --features tpm

- name: Extract crate information
shell: bash
Expand Down
Loading