Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rust cache in github action #453

Merged
merged 3 commits into from
Apr 24, 2024
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
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ env:
jobs:
build_and_test:
name: Build and test
if: ( ! github.event.pull_request.draft )
yuroitaki marked this conversation as resolved.
Show resolved Hide resolved
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -67,9 +66,9 @@ jobs:
run: cargo clippy --all-features --examples -- -D warnings

- name: Use caching
uses: Swatinem/rust-cache@v2.5.0
uses: Swatinem/rust-cache@v2
with:
workspaces: ${{ matrix.package }} -> target
workspaces: ${{ matrix.package }}

- name: "Build"
run: cargo build ${{ matrix.release && '--release' }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/rustdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ env:

jobs:
rustdoc:
if: ( ! github.event.pull_request.draft )
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion tlsn/examples/interactive/interactive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ async fn verifier<T: AsyncWrite + AsyncRead + Send + Sync + Unpin + 'static>(
// Verify MPC-TLS and wait for (redacted) data.
let (sent, received, session_info) = verifier.verify(socket.compat()).await.unwrap();

// Check send data: check host.
// Check sent data: check host.
let sent_data = String::from_utf8(sent.data().to_vec()).expect("Verifier expected sent data");
sent_data
.find(SERVER_DOMAIN)
Expand Down
Loading