-
Notifications
You must be signed in to change notification settings - Fork 23
33 lines (33 loc) · 976 Bytes
/
lint.yml
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
name: Lint
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: rustup component add clippy
- uses: bufbuild/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions-rs/clippy-check@v1
name: Lint main workspace
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: workspace
args: --all-features --no-deps
- uses: actions-rs/clippy-check@v1
name: Lint bindings_swift
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: bindings_swift
args: --all-features --no-deps --manifest-path bindings_swift/Cargo.toml
- uses: actions-rs/clippy-check@v1
name: Lint xmtpv3
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: xmtp
args: --all-features --no-deps --manifest-path xmtp/Cargo.toml