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
2 changes: 2 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
with:
cache-targets: true # cache build artifacts
cache-bin: true # cache the ~/.cargo/bin directory
shared-key: shared-${{ runner.os }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Generate code coverage (including doc tests)
run: |
cargo llvm-cov --all-features --workspace --no-report nextest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
with:
cache-targets: true # cache build artifacts
cache-bin: true # cache the ~/.cargo/bin directory
shared-key: shared-${{ runner.os }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- run: |
set -e
# cargo bolero list outputs {"package":"package-name","test":"test-name"}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
with:
cache-targets: true # cache build artifacts
cache-bin: true # cache the ~/.cargo/bin directory
shared-key: shared-${{ runner.os }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- run: cargo fmt --all -- --check
clippy:
name: "clippy #${{ matrix.platform }} ${{ matrix.rust_version }}"
Expand All @@ -54,6 +56,8 @@ jobs:
with:
cache-targets: true # cache build artifacts
cache-bin: true # cache the ~/.cargo/bin directory
shared-key: shared-${{ runner.os }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Run clippy on ${{ matrix.platform }} ${{ matrix.rust_version }}
shell: bash
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/miri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
with:
cache-targets: true # cache build artifacts
cache-bin: true # cache the ~/.cargo/bin directory
shared-key: shared-${{ runner.os }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- run: MIRIFLAGS="-Zmiri-disable-isolation" cargo miri nextest run --partition count:${{ matrix.partition }}/5
# We need to disable isolation because
# "unsupported operation: `clock_gettime` with `REALTIME` clocks not available when isolation is enabled"
4 changes: 4 additions & 0 deletions .github/workflows/pr-metadata-docs-and-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ jobs:
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
with:
cache-targets: true
shared-key: shared-${{ runner.os }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- uses: dtolnay/rust-toolchain@stable
- name: Check missing docs
id: missing-docs
Expand Down Expand Up @@ -274,6 +276,8 @@ jobs:
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
with:
cache-targets: true
shared-key: shared-${{ runner.os }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- uses: dtolnay/rust-toolchain@stable
- uses: taiki-e/cache-cargo-install-action@7447f04c51f2ba27ca35e7f1e28fab848c5b3ba7 # 2.3.1
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr-title-semver-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ jobs:
uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # 2.8.1
with:
cache-targets: true
shared-key: shared-${{ runner.os }}
save-if: ${{ github.ref == 'refs/heads/main' }}

- name: Install dependencies
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-proposal-dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ jobs:
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # v2.8.1
with:
cache-targets: true
shared-key: shared-${{ runner.os }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2026-02-08
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:
with:
cache-targets: true # cache build artifacts
cache-bin: true # cache the ~/.cargo/bin directory
shared-key: shared-${{ runner.os }}
Comment thread
ekump marked this conversation as resolved.
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: "Remove nextest CI report"
shell: bash
run: rm -rf target/nextest/ci/junit.xml
Expand Down Expand Up @@ -193,6 +195,8 @@ jobs:
with:
cache-targets: true # cache build artifacts
cache-bin: true # cache the ~/.cargo/bin directory
shared-key: shared-${{ runner.os }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: "Generate profiling FFI"
shell: bash
env:
Expand Down Expand Up @@ -308,6 +312,8 @@ jobs:
with:
cache-targets: true # cache build artifacts
cache-bin: true # cache the ~/.cargo/bin directory
shared-key: shared-${{ runner.os }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- run: cargo install cross || true
- run: cross build --workspace --target x86_64-unknown-linux-gnu --exclude builder
- run: cross test --workspace --features libdd-crashtracker/generate-unit-test-files --target x86_64-unknown-linux-gnu --exclude builder -- --skip "::single_threaded_tests::" --skip "tracing_integration_tests::"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/verify-proto-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
with:
cache-targets: true # cache build artifacts
cache-bin: true # cache the ~/.cargo/bin directory
shared-key: shared-${{ runner.os }}
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: diff pb.rs
working-directory: libdd-trace-protobuf
run: |
Expand Down
Loading