Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig committed Jun 3, 2024
1 parent 1a059cf commit a5bd78e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: rustup component add clippy

- name: Cargo Fetch
run: cargo fetch --frozen --all-features
run: cargo fetch --frozen

- name: Check
run: cargo fmt --all -- --check
Expand Down
39 changes: 1 addition & 38 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,44 +45,7 @@ jobs:
targets: ${{ matrix.target }}

- name: Cargo Fetch
run: cargo fetch --frozen --all-features
run: cargo fetch --frozen

- name: Run Tests
run: cargo test --all-features


clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Rust Tool Chain setup
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- name: Install clippy
run: rustup component add clippy

- name: Cargo Fetch
run: cargo fetch --frozen --all-features

- name: Run Clippy
run: cargo clippy --all-features -- -D warnings


format-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Rust Tool Chain setup
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- name: Check
run: cargo fmt --all -- --check

0 comments on commit a5bd78e

Please sign in to comment.