File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 9
9
matrix :
10
10
rust : [stable, beta, nightly]
11
11
steps :
12
- - uses : actions/checkout@master
12
+ - uses : actions/checkout@v2
13
13
- name : Install Rust
14
14
run : rustup update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
15
15
- run : cargo build --all
16
16
- run : cargo test --all
17
17
18
+ fuzz_targets :
19
+ name : Fuzz Targets
20
+ runs-on : ubuntu-latest
21
+ steps :
22
+ - uses : actions/checkout@v2
23
+ # Note that building with fuzzers requires nightly since it uses unstable
24
+ # flags to rustc.
25
+ run : rustup update nightly && rustup default nightly
26
+ - run : cargo install cargo-fuzz --vers "^0.10"
27
+ - run : cargo fuzz build --dev
28
+
18
29
rustfmt :
19
30
name : Rustfmt
20
31
runs-on : ubuntu-latest
21
32
steps :
22
- - uses : actions/checkout@master
33
+ - uses : actions/checkout@v2
23
34
- name : Install Rust
24
35
run : rustup update stable && rustup default stable && rustup component add rustfmt
25
36
- run : cargo fmt -- --check
28
39
name : Publish Documentation
29
40
runs-on : ubuntu-latest
30
41
steps :
31
- - uses : actions/checkout@master
42
+ - uses : actions/checkout@v2
32
43
- name : Install Rust
33
44
run : rustup update stable && rustup default stable
34
45
- name : Build documentation
40
51
git add .
41
52
git -c user.name='ci' -c user.email='ci' commit -m init
42
53
git push -f -q https://git:${{ secrets.github_token }}@github.com/${{ github.repository }} HEAD:gh-pages
43
- if : github.event_name == 'push' && github.event.ref == 'refs/heads/master '
54
+ if : github.event_name == 'push' && github.event.ref == 'refs/heads/main '
You can’t perform that action at this time.
0 commit comments