Skip to content

Commit

Permalink
ci: add new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
insomnimus committed Apr 20, 2024
1 parent c818cde commit 5726ca5
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 4 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"name": "main",
"on": {
"push": {
"paths-ignore": ["readme.md", "LICENSE"]
},
"pull_request": {
"paths-ignore": ["readme.md", "LICENSE"]
}
},
"jobs": {
"test": {
"strategy": {
"matrix": {
"include": [
{
"os": "ubuntu-latest"
},
{
"os": "macOS-latest"
},
{
"os": "windows-latest"
}
]
}
},
"runs-on": "${{ matrix.os }}",
"steps": [
{
"name": "checkout",
"uses": "actions/checkout@v3"
},
{
"name": "update rust",
"run": "rustup update"
},
{
"name": "run clippy",
"run": "cargo clippy -- -F warnings"
},
{
"name": "run tests",
"run": "cargo test"
}
]
}
}
}
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
[package]
name = "tidier"
version = "0.5.1"
version = "0.5.2"
edition = "2021"
description = "Format HTML, XHTML and XML documents using Tidy"
description = "Format HTML, XHTML and XML documents"
license = "MIT OR Apache-2.0"
repository = "https://github.com/insomnimus/tidier"
authors = ["Taylan Gökkaya"]
keywords = ["html", "xml", "format", "pretty", "tidy"]
categories = ["api-bindings", "value-formatting"]

[dev-dependencies]
clap = { version = "4.4.18", features = ["derive"] }
clap = { version = "4.5.4", features = ["derive"] }

[target.'cfg(not(windows))'.dependencies]
errno = "0.3.8"

[dependencies]
memchr = "2.7.1"
memchr = "2.7.2"
tidy-sys = "0.8.1"

0 comments on commit 5726ca5

Please sign in to comment.