Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyboyQCD authored Sep 30, 2024
2 parents 46ebd5c + 628e31c commit 2797edb
Show file tree
Hide file tree
Showing 256 changed files with 12,896 additions and 6,370 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
pull_request:
branches:
- main
- releases/**

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
runBenchmark:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
env:
RUSTFLAGS: -D warnings
RUSTFLAGS: ${{ github.ref == 'refs/heads/main' && '-D warnings' || '' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -104,6 +104,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
targets: ${{ matrix.target }}

- name: Build
run: cargo build --target ${{ matrix.target }} --verbose --release --locked --bin boa
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,27 @@ on:
pull_request:
branches:
- main
- releases/**
push:
branches:
- main
- releases/**
merge_group:
types: [checks_requested]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
RUSTFLAGS: -Dwarnings
RUSTFLAGS: ${{ (github.ref == 'refs/heads/main' || github.base_ref == 'main') && '-D warnings' || '' }}

jobs:
coverage:
name: Coverage
runs-on: ubuntu-latest
timeout-minutes: 60
if: ${{ github.ref == 'refs/heads/main' || github.base_ref == 'main' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -149,7 +156,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
env:
RUSTDOCFLAGS: -D warnings
RUSTDOCFLAGS: ${{ (github.ref == 'refs/heads/main' || github.base_ref == 'main') && '-D warnings' || '' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test262.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@ on:
pull_request:
branches:
- main
- releases/**
merge_group:
types: [checks_requested]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
run_test262:
name: Run the test262 test suite
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/webassembly.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
name: Webassembly demo

on:
pull_request:
branches:
- main
- releases/**
push:
branches:
- main
- releases/**
merge_group:
types: [checks_requested]

name: Webassembly demo
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
check_style:
Expand All @@ -27,7 +33,7 @@ jobs:
timeout-minutes: 60
env:
WASM_PACK_PATH: ~/.cargo/bin/wasm-pack
RUSTFLAGS: -D warnings
RUSTFLAGS: ${{ (github.ref == 'refs/heads/main' || github.base_ref == 'main') && '-Dwarnings' || '' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,20 @@

## What's Changed

<!-- Release notes generated using configuration in .github/release.yml at main -->
# [0.19.1 (2024-09-11)](https://github.com/boa-dev/boa/compare/v0.19...v0.19.1)

### Bug Fixes

- Implement new spec changes for `AsyncGenerator` by @jedel1043 in https://github.com/boa-dev/boa/pull/3950
- Allow dead code for code that is newly detected as unused by @hansl in https://github.com/boa-dev/boa/pull/3984
- Allow warnings when running CI on release branches by @jedel1043 in https://github.com/boa-dev/boa/pull/3990

### Internal Improvements

- Add spec edition 15 to the tester by @jedel1043 in https://github.com/boa-dev/boa/pull/3957
- Enable CI for release branches by @jedel1043 in https://github.com/boa-dev/boa/pull/3987

**Full Changelog**: https://github.com/boa-dev/boa/compare/v0.19...v0.19.1

# [0.19.0 (2024-07-08)](https://github.com/boa-dev/boa/compare/v0.18...v0.19)

Expand Down
Loading

0 comments on commit 2797edb

Please sign in to comment.