Debian Codegraph @

.cargo/vendor/libfuzzer-sys/.github/workflows/rust.yml

raw
1 name: Rust
2
3 on: [push, pull_request]
4
5 jobs:
6 check_libfuzzer_checkout:
7 runs-on: ubuntu-latest
8
9 steps:
10 - uses: actions/checkout@v4
11 - name: Re-vendor libfuzzer
12 run: ./update-libfuzzer.sh
13 - name: Check that nothing changed
14 run: git diff --exit-code
15
16 build:
17
18 runs-on: ubuntu-latest
19
20 steps:
21 - uses: actions/checkout@v4
22
23 - name: Install nightly Rust
24 run: |
25 rustup toolchain install nightly
26 rustup default nightly
27
28 - name: Check rustfmt
29 run: |
30 rustup component add rustfmt --toolchain stable
31 cargo +stable fmt --all -- --check
32
33 - run: cargo install cargo-fuzz
34
35 - name: Run tests
36 run: ./ci/script.sh