-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (32 loc) · 988 Bytes
/
checks.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Checks
on:
push:
branches:
- main
pull_request: ~
jobs:
test:
name: Test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install latest stable
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
components: rustfmt,clippy
- name: Run rustfmt
run: cargo fmt --all --check
- name: Run clippy
uses: giraffate/clippy-action@v1
with:
reporter: 'github-pr-check'
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Run tests default
run: cargo test
- name: Run tests rustls-tls-webpki-roots
run: cargo test --no-default-features --features rustls-tls-webpki-roots
- name: Run tests native-tls-vendored
run: cargo test --no-default-features --features native-tls-vendored
- name: Run tests native-tls
run: cargo test --no-default-features --features native-tls