Require Holmes artifact schema versions #1207
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: External Host Experiments - Runtime Smokes | |
| on: | |
| push: | |
| branches: ['**'] | |
| pull_request: | |
| branches: ['**'] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| deno-smoke: | |
| name: External host experiment - Deno smoke | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Harden runner | |
| uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Install bats | |
| uses: ./.github/actions/install-bats | |
| - uses: denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282 | |
| with: | |
| deno-version: v2.x | |
| - name: Deno lint (smoke files) | |
| run: | | |
| deno lint --config deno.json scripts/deno_smoke.ts | |
| - name: Deno host contracts (Bats) | |
| env: | |
| BATS_LIB_PATH: test | |
| TERM: xterm | |
| BATS_NO_COLOR: '1' | |
| run: | | |
| rm -rf test/hosts/bats-plugins || true | |
| timeout 2m bash scripts/setup-bats-plugins.sh | |
| ln -sfn "$PWD/test/bats-plugins" test/hosts/bats-plugins | |
| HOST=deno bats -t test/hosts/host-contracts.bats | |
| bun-smoke: | |
| name: External host experiment - Bun smoke | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Harden runner | |
| uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Install bats | |
| uses: ./.github/actions/install-bats | |
| - uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 | |
| with: | |
| bun-version: 1.2.20 | |
| - name: Bun host contracts (Bats) | |
| env: | |
| BATS_LIB_PATH: test | |
| TERM: xterm | |
| BATS_NO_COLOR: '1' | |
| run: | | |
| rm -rf test/hosts/bats-plugins || true | |
| timeout 2m bash scripts/setup-bats-plugins.sh | |
| ln -sfn "$PWD/test/bats-plugins" test/hosts/bats-plugins | |
| HOST=bun bats -t test/hosts/host-contracts.bats |