Browse Source

Added semver checks

semver_checks
Iban Eguia Moraza 1 year ago
parent
commit
17b2b1c5e7
No known key found for this signature in database
GPG Key ID: 777B7481C7DE661A
  1. 3
      .github/workflows/release.yml
  2. 17
      .github/workflows/rust.yml
  3. 28
      Cargo.lock
  4. 20
      Cargo.toml

3
.github/workflows/release.yml

@ -13,19 +13,16 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Install cargo-workspaces
uses: actions-rs/install@v0.1
with:
crate: cargo-workspaces
- name: Release
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

17
.github/workflows/rust.yml

@ -69,6 +69,23 @@ jobs:
- name: Test docs
run: cargo test --doc --profile ci --features annex-b,intl,experimental
semver:
name: SemVer
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1.0.7
with:
toolchain: stable
override: true
profile: minimal
- uses: Swatinem/rust-cache@v2
with:
key: semver
- name: Check semver
uses: obi1kenobi/cargo-semver-checks-action@v2
msrv:
name: MSRV
runs-on: ubuntu-latest

28
Cargo.lock generated

@ -317,7 +317,7 @@ dependencies = [
[[package]]
name = "boa_ast"
version = "0.17.0"
version = "0.17.4"
dependencies = [
"arbitrary",
"bitflags 2.4.1",
@ -331,7 +331,7 @@ dependencies = [
[[package]]
name = "boa_cli"
version = "0.17.0"
version = "0.17.4"
dependencies = [
"boa_engine",
"boa_gc",
@ -351,7 +351,7 @@ dependencies = [
[[package]]
name = "boa_engine"
version = "0.17.0"
version = "0.17.4"
dependencies = [
"bitflags 2.4.1",
"boa_ast",
@ -412,7 +412,7 @@ dependencies = [
[[package]]
name = "boa_examples"
version = "0.17.0"
version = "0.17.4"
dependencies = [
"boa_ast",
"boa_engine",
@ -427,7 +427,7 @@ dependencies = [
[[package]]
name = "boa_gc"
version = "0.17.0"
version = "0.17.4"
dependencies = [
"boa_macros",
"boa_profiler",
@ -437,7 +437,7 @@ dependencies = [
[[package]]
name = "boa_icu_provider"
version = "0.17.0"
version = "0.17.4"
dependencies = [
"icu_datagen",
"icu_provider",
@ -450,7 +450,7 @@ dependencies = [
[[package]]
name = "boa_interner"
version = "0.17.0"
version = "0.17.4"
dependencies = [
"arbitrary",
"boa_gc",
@ -466,7 +466,7 @@ dependencies = [
[[package]]
name = "boa_macros"
version = "0.17.0"
version = "0.17.4"
dependencies = [
"proc-macro2",
"quote",
@ -476,7 +476,7 @@ dependencies = [
[[package]]
name = "boa_macros_tests"
version = "0.17.0"
version = "0.17.4"
dependencies = [
"boa_engine",
"boa_macros",
@ -485,7 +485,7 @@ dependencies = [
[[package]]
name = "boa_parser"
version = "0.17.0"
version = "0.17.4"
dependencies = [
"bitflags 2.4.1",
"boa_ast",
@ -502,7 +502,7 @@ dependencies = [
[[package]]
name = "boa_profiler"
version = "0.17.0"
version = "0.17.4"
dependencies = [
"measureme",
"once_cell",
@ -511,7 +511,7 @@ dependencies = [
[[package]]
name = "boa_runtime"
version = "0.17.0"
version = "0.17.4"
dependencies = [
"boa_engine",
"boa_gc",
@ -522,7 +522,7 @@ dependencies = [
[[package]]
name = "boa_tester"
version = "0.17.0"
version = "0.17.4"
dependencies = [
"bitflags 2.4.1",
"boa_engine",
@ -545,7 +545,7 @@ dependencies = [
[[package]]
name = "boa_wasm"
version = "0.17.0"
version = "0.17.4"
dependencies = [
"boa_engine",
"chrono",

20
Cargo.toml

@ -19,7 +19,7 @@ members = [
[workspace.package]
edition = "2021"
version = "0.17.0"
version = "0.17.4"
rust-version = "1.71.0"
authors = ["boa-dev"]
repository = "https://github.com/boa-dev/boa"
@ -29,15 +29,15 @@ description = "Boa is a Javascript lexer, parser and compiler written in Rust. C
[workspace.dependencies]
# Repo Crates
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.4", path = "boa_ast" }
boa_engine = { version = "0.17.4", path = "boa_engine" }
boa_gc = { version = "0.17.4", path = "boa_gc" }
boa_icu_provider = { version = "0.17.4", path = "boa_icu_provider" }
boa_interner = { version = "0.17.4", path = "boa_interner" }
boa_macros = { version = "0.17.4", path = "boa_macros" }
boa_parser = { version = "0.17.4", path = "boa_parser" }
boa_profiler = { version = "0.17.4", path = "boa_profiler" }
boa_runtime = { version = "0.17.4", path = "boa_runtime" }
# Shared deps
arbitrary = "1"

Loading…
Cancel
Save