Skip to content

Merge pull request #45 from c410-f3r/dependabot/cargo/serde-1.0.205 #145

Merge pull request #45 from c410-f3r/dependabot/cargo/serde-1.0.205

Merge pull request #45 from c410-f3r/dependabot/cargo/serde-1.0.205 #145

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
jobs:
cargo-fuzz:
name: Cargo fuzz
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-10-15
profile: minimal
override: true
- uses: actions-rs/[email protected]
with:
crate: cargo-fuzz
use-tool-cache: true
- run: .scripts/fuzz.sh
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
components: clippy, rustfmt
toolchain: nightly-2023-10-15
profile: minimal
override: true
- name: Cache cargo directories
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo target dir
uses: actions/cache@v4
with:
path: target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- name: Tests
run: .scripts/tests.sh