Skip to content
Merged
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
16 changes: 8 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -264,29 +264,29 @@ jobs:

ensure-header-updated:
runs-on: ubuntu-latest
defaults:
run:
working-directory: librustls
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

- name: Install nightly rust toolchain
uses: dtolnay/rust-toolchain@nightly
with:
# TODO(XXX): remove toolchain pinning once upstream issue is resolved:
# https://github.com/rust-lang/rust/issues/139715
toolchain: nightly-2025-03-25

- name: Install cbindgen
# Pin the installed version of cbindgen so that local usage can be
# reliably matched to CI. There can be non-semantic differences in
# output between point releases of cbindgen that will fail this check
# otherwise.
run: cargo install cbindgen --force --version 0.27.0

- run: touch src/lib.rs
run: cargo install cbindgen --force --version 0.28.0

- run: cbindgen --version
- name: Configure CMake
run: cmake -S librustls -B build

- run: cbindgen > src/rustls.h
- run: cmake --build build --target cbindgen

- run: git diff --exit-code

Expand Down
Loading