Skip to content

Commit c1b66a8

Browse files
committed
ci: run clippy on all crates
1 parent 07604fe commit c1b66a8

File tree

3 files changed

+14
-22
lines changed

3 files changed

+14
-22
lines changed

.github/features.ua

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/validate.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ jobs:
6666
key: build-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
6767
restore-keys: |
6868
build-${{ runner.os }}-
69-
- name: Check interpreter clippy lints
70-
run: cargo clippy --no-deps
7169
- name: Run interpreter tests
7270
run: cargo test --lib
7371
# Test the site
@@ -98,6 +96,19 @@ jobs:
9896
build-${{ runner.os }}-
9997
- name: Run site tests
10098
run: cargo test -p tests_ffi
99+
clippy:
100+
needs: install_deps
101+
runs-on: ubuntu-latest
102+
steps:
103+
- uses: actions/checkout@v4
104+
- uses: actions/cache@v4
105+
with:
106+
path: target
107+
key: build-${{ runner.os }}-${{ hashFiles('Cargo.lock') }}
108+
restore-keys: |
109+
build-${{ runner.os }}-
110+
- name: Run clippy
111+
run: cargo clippy --all-targets --workspace --all-features -- --deny=warnings
101112
# check_features:
102113
# needs: test_bin
103114
# runs-on: ubuntu-latest

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ system = ["libffi?/system"]
165165

166166
[[bin]]
167167
name = "uiua"
168+
required-features = ["binary"]
168169

169170
[workspace]
170171
members = ["site", "tests_ffi", "pad/editor", "parser"]

0 commit comments

Comments
 (0)