Skip to content

Commit

Permalink
chore(build): fix GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
lquerel committed Mar 15, 2024
1 parent b69145e commit d918112
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 35 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,6 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Check formatting
run: cargo fmt --all -- --check
check-workspace:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: check-workspace
run: ./scripts/check_workspace.sh
check-external-types:
runs-on: ubuntu-latest
steps:
Expand Down
27 changes: 0 additions & 27 deletions .github/workflows/readme.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/validate-workspace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Validate the Cargo workspace.

on: [pull_request]

jobs:
validate-workspace:
name: Validate workspace
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- name: Run cargo xtask validate
run: cargo xtask validate
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ weaver_schema = { path = "crates/weaver_schema" }
weaver_cache = { path = "crates/weaver_cache" }
weaver_forge = { path = "crates/weaver_forge" }

clap = { version = "4.5.2", features = ["derive"] }
clap = { version = "4.5.3", features = ["derive"] }
crossterm = "0.27.0"
ratatui = "0.26.1"
tui-textarea = "0.4.0"
Expand Down

0 comments on commit d918112

Please sign in to comment.