chore!: bump all default versions #77
Workflow file for this run
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: Validate | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
verify: | |
name: Verify setup | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, windows-latest, ubuntu-latest] | |
tinygo: ['0.29.0', '0.30.0'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- name: setup-tinygo ${{ matrix.tinygo }} | |
uses: ./ | |
with: | |
tinygo-version: ${{ matrix.tinygo }} | |
binaryen-version: '116' | |
- name: Verify version | |
run: ./check-version.sh ${{ matrix.tinygo }} | |
shell: bash | |
- name: Test build | |
run: ./test-build.sh | |
shell: bash | |
no-binaryen: | |
name: No Binaryen | |
# using macos because ubuntu has binaryen pre-installed | |
# TO-DO: implement a stable testing method | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- name: setup-tinygo | |
uses: ./ | |
with: | |
tinygo-version: '0.30.0' | |
install-binaryen: 'false' | |
- name: Binaryen not installed | |
run: ./test-binaryen.sh | |
shell: bash |