Skip to content

feat: allow extending hyperlight-js-runtime with custom native modules #155

feat: allow extending hyperlight-js-runtime with custom native modules

feat: allow extending hyperlight-js-runtime with custom native modules #155

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Validate Pull Request
on:
pull_request:
branches: [ main, 'release/**' ]
# Cancels old running job if a new one is triggered (e.g. by a push onto the same branch).
# This will cancel dependent jobs as well, such as dep_build and dep_benchmarks
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
id-token: write
contents: read
jobs:
benchmarks:
uses: ./.github/workflows/dep_benchmarks.yml
secrets: inherit
with:
download-benchmarks: true
upload-benchmarks: false
build:
uses: ./.github/workflows/dep_build.yml
secrets: inherit
license-headers:
name: check license headers
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Check License Headers
run: ./dev/check-license-headers.sh
# Gate PR merges on this specific "join-job" which requires all other
# jobs to run first.
report-ci-status:
needs:
- benchmarks
- build
- license-headers
- spelling
if: always()
runs-on: ubuntu-latest
steps:
- name: calculate the correct exit status
run: jq --exit-status 'all(.result == "success" or .result == "skipped")' <<< '${{ toJson(needs) }}'
spelling:
name: Spell check with typos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Spell Check Repo
uses: crate-ci/typos@v1.44.0