Skip to content

Commit 2928a74

Browse files
committed
Add testing and contrib changes
1 parent a11e734 commit 2928a74

47 files changed

Lines changed: 414 additions & 18 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CONTRIBUTING.md

Lines changed: 77 additions & 0 deletions

Cargo.toml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ include = [
1111
"/src/schemastore/src/schemas/json/github-action.json"
1212
]
1313
version = "0.0.0-git"
14-
authors = ["Matt Palmer <matt@hezmatt.org>"]
14+
authors = [
15+
"Matt Palmer <matt@hezmatt.org>",
16+
"Ben Heidemann <ben@heidemann.co.uk>",
17+
"Austin Ward <ward.austin28@gmail.com>"
18+
]
1519
edition = "2021"
1620
# If this is changed, .github/workflows/qa.yml build matrix needs updating as well
1721
rust-version = "1.60.0"
@@ -20,7 +24,8 @@ rust-version = "1.60.0"
2024
crate-type = ["cdylib", "rlib"]
2125

2226
[features]
23-
js = ["console_error_panic_hook", "wee_alloc", "valico/js"]
27+
js = ["console_error_panic_hook", "valico/js"]
28+
save-snapshots = []
2429

2530
[dependencies]
2631
clap = { version = "4.0", features = ["derive"] }
@@ -39,14 +44,12 @@ wasm-bindgen = "0.2.63"
3944
# code size when deploying.
4045
console_error_panic_hook = { version = "0.1.6", optional = true }
4146

42-
# `wee_alloc` is a tiny allocator for wasm that is only ~1K in code size
43-
# compared to the default allocator's ~10K. It is slower than the default
44-
# allocator, however.
45-
wee_alloc = { version = "0.4.5", optional = true }
4647
serde-wasm-bindgen = "0.4.5"
4748

4849
[dev-dependencies]
4950
wasm-bindgen-test = "0.3.13"
51+
rstest = "0.16.0"
52+
assert_cmd = "2.0.8"
5053

5154
[profile.release]
5255
# Tell `rustc` to optimize for small code size.

README.md

Lines changed: 1 addition & 1 deletion

bin/run-action-validator

100644100755
File mode changed.

test/004_failing_globs/stdout

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/007_funky_syntax/stdout

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/008_job_dependencies/stdout

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/009_multi_file/stdout

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)