From 97f9959b680400b33dab31d3242724cdba292a34 Mon Sep 17 00:00:00 2001 From: Iban Eguia Moraza Date: Tue, 25 Jul 2023 11:13:48 +0200 Subject: [PATCH] Added semver checks --- .github/workflows/rust.yml | 2 ++ Cargo.lock | 28 ++++++++++++++-------------- Cargo.toml | 20 ++++++++++---------- 3 files changed, 26 insertions(+), 24 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 967f16597a6..0b98607b528 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -91,6 +91,8 @@ jobs: run: cargo clippy --all-features --all-targets - name: Lint (No features) run: cargo clippy -p boa_engine --no-default-features --all-targets + - name: Check semver + uses: obi1kenobi/cargo-semver-checks-action@v2 - name: Generate documentation run: cargo doc -v --document-private-items --all-features - name: Build diff --git a/Cargo.lock b/Cargo.lock index 6abbb96344c..d0baa0caf04 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -365,7 +365,7 @@ dependencies = [ [[package]] name = "boa_ast" -version = "0.17.0" +version = "0.17.1-dev" dependencies = [ "arbitrary", "bitflags 2.3.3", @@ -379,7 +379,7 @@ dependencies = [ [[package]] name = "boa_cli" -version = "0.17.0" +version = "0.17.1-dev" dependencies = [ "boa_ast", "boa_engine", @@ -399,7 +399,7 @@ dependencies = [ [[package]] name = "boa_engine" -version = "0.17.0" +version = "0.17.1-dev" dependencies = [ "bitflags 2.3.3", "boa_ast", @@ -456,7 +456,7 @@ dependencies = [ [[package]] name = "boa_examples" -version = "0.17.0" +version = "0.17.1-dev" dependencies = [ "boa_ast", "boa_engine", @@ -470,7 +470,7 @@ dependencies = [ [[package]] name = "boa_gc" -version = "0.17.0" +version = "0.17.1-dev" dependencies = [ "boa_macros", "boa_profiler", @@ -479,7 +479,7 @@ dependencies = [ [[package]] name = "boa_icu_provider" -version = "0.17.0" +version = "0.17.1-dev" dependencies = [ "icu_casemapping", "icu_collections", @@ -497,7 +497,7 @@ dependencies = [ [[package]] name = "boa_interner" -version = "0.17.0" +version = "0.17.1-dev" dependencies = [ "arbitrary", "boa_gc", @@ -513,7 +513,7 @@ dependencies = [ [[package]] name = "boa_macros" -version = "0.17.0" +version = "0.17.1-dev" dependencies = [ "proc-macro2", "quote", @@ -523,7 +523,7 @@ dependencies = [ [[package]] name = "boa_macros_tests" -version = "0.17.0" +version = "0.17.1-dev" dependencies = [ "boa_engine", "boa_macros", @@ -532,7 +532,7 @@ dependencies = [ [[package]] name = "boa_parser" -version = "0.17.0" +version = "0.17.1-dev" dependencies = [ "bitflags 2.3.3", "boa_ast", @@ -551,7 +551,7 @@ dependencies = [ [[package]] name = "boa_profiler" -version = "0.17.0" +version = "0.17.1-dev" dependencies = [ "measureme", "once_cell", @@ -560,7 +560,7 @@ dependencies = [ [[package]] name = "boa_runtime" -version = "0.17.0" +version = "0.17.1-dev" dependencies = [ "boa_engine", "boa_gc", @@ -571,7 +571,7 @@ dependencies = [ [[package]] name = "boa_tester" -version = "0.17.0" +version = "0.17.1-dev" dependencies = [ "bitflags 2.3.3", "boa_engine", @@ -594,7 +594,7 @@ dependencies = [ [[package]] name = "boa_wasm" -version = "0.17.0" +version = "0.17.1-dev" dependencies = [ "boa_engine", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 4c7a3be150e..d2a0a1d21f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ members = [ [workspace.package] edition = "2021" -version = "0.17.0" +version = "0.17.1-dev" rust-version = "1.66" authors = ["boa-dev"] repository = "https://github.com/boa-dev/boa" @@ -26,15 +26,15 @@ license = "Unlicense/MIT" description = "Boa is a Javascript lexer, parser and compiler written in Rust. Currently, it has support for some of the language." [workspace.dependencies] -boa_ast = { version = "0.17.0", path = "boa_ast" } -boa_engine = { version = "0.17.0", path = "boa_engine" } -boa_gc = { version = "0.17.0", path = "boa_gc" } -boa_icu_provider = { version = "0.17.0", path = "boa_icu_provider" } -boa_interner = { version = "0.17.0", path = "boa_interner" } -boa_macros = { version = "0.17.0", path = "boa_macros" } -boa_parser = { version = "0.17.0", path = "boa_parser" } -boa_profiler = { version = "0.17.0", path = "boa_profiler" } -boa_runtime = { version = "0.17.0", path = "boa_runtime" } +boa_ast = { version = "0.17.1-dev", path = "boa_ast" } +boa_engine = { version = "0.17.1-dev", path = "boa_engine" } +boa_gc = { version = "0.17.1-dev", path = "boa_gc" } +boa_icu_provider = { version = "0.17.1-dev", path = "boa_icu_provider" } +boa_interner = { version = "0.17.1-dev", path = "boa_interner" } +boa_macros = { version = "0.17.1-dev", path = "boa_macros" } +boa_parser = { version = "0.17.1-dev", path = "boa_parser" } +boa_profiler = { version = "0.17.1-dev", path = "boa_profiler" } +boa_runtime = { version = "0.17.1-dev", path = "boa_runtime" } [workspace.metadata.workspaces] allow_branch = "main"