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: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install Rust toolchain - name: Install Rust toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
toolchain: stable toolchain: stable
profile: minimal profile: minimal
override: true override: true
- name: Install cargo-workspaces - name: Install cargo-workspaces
uses: actions-rs/install@v0.1 uses: actions-rs/install@v0.1
with: with:
crate: cargo-workspaces crate: cargo-workspaces
- name: Release - name: Release
env: env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

17
.github/workflows/rust.yml

@ -69,6 +69,23 @@ jobs:
- name: Test docs - name: Test docs
run: cargo test --doc --profile ci --features annex-b,intl,experimental 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: msrv:
name: MSRV name: MSRV
runs-on: ubuntu-latest runs-on: ubuntu-latest

28
Cargo.lock generated

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

20
Cargo.toml

@ -19,7 +19,7 @@ members = [
[workspace.package] [workspace.package]
edition = "2021" edition = "2021"
version = "0.17.0" version = "0.17.4"
rust-version = "1.71.0" rust-version = "1.71.0"
authors = ["boa-dev"] authors = ["boa-dev"]
repository = "https://github.com/boa-dev/boa" 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] [workspace.dependencies]
# Repo Crates # Repo Crates
boa_ast = { version = "~0.17.0", path = "boa_ast" } boa_ast = { version = "0.17.4", path = "boa_ast" }
boa_engine = { version = "~0.17.0", path = "boa_engine" } boa_engine = { version = "0.17.4", path = "boa_engine" }
boa_gc = { version = "~0.17.0", path = "boa_gc" } boa_gc = { version = "0.17.4", path = "boa_gc" }
boa_icu_provider = { version = "~0.17.0", path = "boa_icu_provider" } boa_icu_provider = { version = "0.17.4", path = "boa_icu_provider" }
boa_interner = { version = "~0.17.0", path = "boa_interner" } boa_interner = { version = "0.17.4", path = "boa_interner" }
boa_macros = { version = "~0.17.0", path = "boa_macros" } boa_macros = { version = "0.17.4", path = "boa_macros" }
boa_parser = { version = "~0.17.0", path = "boa_parser" } boa_parser = { version = "0.17.4", path = "boa_parser" }
boa_profiler = { version = "~0.17.0", path = "boa_profiler" } boa_profiler = { version = "0.17.4", path = "boa_profiler" }
boa_runtime = { version = "~0.17.0", path = "boa_runtime" } boa_runtime = { version = "0.17.4", path = "boa_runtime" }
# Shared deps # Shared deps
arbitrary = "1" arbitrary = "1"

Loading…
Cancel
Save