Prevent panic when 'options' value is nil (#3947) #3416
This file contains 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: TC39 | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
pull_request: | |
paths: | |
- 'js/**' | |
- 'vendor/github.com/grafana/sobek/**' | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
tc39: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23.x | |
check-latest: true | |
- name: Run tests | |
run: | | |
set -x | |
cd js/tc39 | |
sh checkout.sh | |
go test -timeout 1h |