Skip to content

Commit

Permalink
add xmtp_api_http to changed path in lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Aug 12, 2024
1 parent 34d59d4 commit 1efd962
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/lint-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: Lint Workspace

on:
push:
branches:
- main

pull_request:
paths:
- ".github/workflows/lint.yaml"
- "mls_validation_service/**"
- "xmtp_api_grpc/**"
- "xmtp_api_http/**"
- "xmtp_cryptography/**"
- "xmtp_id/**"
- "xmtp_mls/**"
Expand All @@ -19,26 +18,21 @@ on:
- "Cargo.lock"
- "rust-toolchain"
- "rustfmt.toml"

jobs:
lint:
name: Lint
runs-on: warp-ubuntu-latest-x64-16x
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Update rust toolchains
run: rustup update

- name: Cache
uses: Swatinem/rust-cache@v2
with:
workspaces: |
.
- name: Run clippy and fail on warnings
run: cargo clippy --all-features --all-targets --no-deps -- -Dwarnings

- name: Run format check
run: cargo fmt --check

0 comments on commit 1efd962

Please sign in to comment.