ethdos-fold/.github/workflows/ci.yml
.github/workflows/ci.ymlRaw
1name: Test
2on: [push, pull_request]
3env:
4 CARGO_TERM_COLOR: always
5jobs:
6 test:
7 runs-on: ubuntu-latest
8 steps:
9 - uses: actions/checkout@v2
10 - name: Build
11 run: cargo build --release --verbose
12 - name: Tests
13 run: |
14 cargo test --release --verbose
15 clippy:
16 runs-on: ubuntu-latest
17 steps:
18 - uses: actions/checkout@v4
19 - name: Clippy
20 run: cargo clippy --all-targets --all-features
21 typos:
22 if: github.event.pull_request.draft == false
23 name: Spell Check with Typos
24 runs-on: ubuntu-latest
25 steps:
26 - uses: actions/checkout@v4
27 - name: Use typos with config file
28 uses: crate-ci/typos@master
29 with:
30 config: .github/workflows/typos.toml
31