Skip to content

Commit bec629d

Browse files
committed
CI exclude xtask
1 parent cb50a45 commit bec629d

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
uses: actions-rs/cargo@v1
6060
with:
6161
command: build
62-
args: --all-features --target ${{ matrix.platform.target }}
62+
args: --all-features --target ${{ matrix.platform.target }} --workspace --exclude xtask
6363
- name: Tests
6464
if: matrix.platform.target != 'wasm32-unknown-unknown'
6565
uses: actions-rs/cargo@v1

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ jobs:
4545
uses: actions-rs/cargo@v1
4646
with:
4747
command: clippy
48-
args: --all-features -- -Drust-2018-idioms -Dwarnings
48+
args: --all-features -- -Drust-2018-idioms -Drust-2024-compatibility -Dwarnings

xtask/src/main.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ enum Task {
4040
Preprocess,
4141
}
4242

43-
#[cfg(target_family = "wasm")]
44-
fn main() {}
45-
46-
#[cfg(not(target_family = "wasm"))]
4743
fn main() -> Result<()> {
4844
let cli = Cli::parse();
4945

0 commit comments

Comments
 (0)