Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,15 @@ jobs:
toolchain: ${{ env.clippy_rust_version }}
components: clippy
- run: cargo clippy --workspace --all-targets -- -D warnings

toml_validation:
runs-on: ubuntu-latest
container:
image: tamasfe/taplo:0.9.3
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: taplo lint
run: taplo lint
- name: taplo fmt
run: taplo fmt --check --diff
7 changes: 2 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,11 @@ documentation = "https://docs.rs/shellfn"
edition = "2018"

[workspace]
members = [
"shellfn-attribute",
"shellfn-core"
]
members = ["shellfn-attribute", "shellfn-core"]

[lib]
doctest = false
path = "src/lib.rs"
path = "src/lib.rs"

[dependencies]
shellfn-attribute = { path = "./shellfn-attribute", version = "0.1.1" }
Expand Down
2 changes: 1 addition & 1 deletion shellfn-attribute/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ quote = "0.6.11"
proc-macro2 = "0.4.27"
darling = "0.8.3"
shellwords = "1.0.0"
shellfn-core = { path = "../shellfn-core", version = "0.1.1" }
shellfn-core = { path = "../shellfn-core", version = "0.1.1" }
2 changes: 2 additions & 0 deletions taplo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[formatting]
align_entries = true