This commit is contained in:
Pere Diaz Bou
2025-05-16 11:52:57 +02:00
parent 852cd48aa4
commit 12ebfc1fcf

View File

@@ -14,32 +14,17 @@ jobs:
timeout-minutes: 0
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- uses: "./.github/shared/install_sqlite"
- name: Run ignored long tests
run: cargo test -- --ignored fuzz_long
env:
RUST_BACKTRACE: 1
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
with:
prefix-key: "v1-rust" # can be updated if we need to reset caches due to non-trivial change in the dependencies (for example, custom env var were set for single workspace project)
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Build
run: cargo build --verbose
- name: Run ignored long tests
run: cargo test -- --ignored fuzz_long
env:
RUST_BACKTRACE: 1