Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set Node.js 20.x
- name: Set Node.js 24.x
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 24.x

- name: Install dependencies
run: npm ci
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
- ubuntu-24.04-arm
- windows-latest
# - windows-11-arm - Binaryen does not provide binaries for Windows on ARM as of v123
tinygo: ['0.36.0', '0.37.0']
tinygo: ['0.39.0', '0.40.1']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.24'
go-version: '1.25'

- name: setup-tinygo ${{ matrix.tinygo }}
uses: ./
with:
tinygo-version: ${{ matrix.tinygo }}
binaryen-version: '123'
binaryen-version: '129'

- name: Verify version
run: ./check-version.sh ${{ matrix.tinygo }}
Expand All @@ -48,12 +48,12 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.24'
go-version: '1.25'

- name: setup-tinygo
uses: ./
with:
tinygo-version: '0.37.0'
tinygo-version: '0.40.1'
install-binaryen: 'false'

- name: Binaryen not installed
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ steps:
- uses: actions/checkout@v2
- uses: acifani/setup-tinygo@v2
with:
tinygo-version: '0.30.0'
tinygo-version: '0.40.1'
```

### With matrix expansion
Expand All @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
tinygo: ['0.29.0', '0.30.0']
tinygo: ['0.39.0', '0.40.1']
name: TinyGo ${{ matrix.tinygo }}
steps:
- uses: actions/checkout@v2
Expand All @@ -48,7 +48,7 @@ steps:
go-version: 1.21
- uses: acifani/setup-tinygo@v2
with:
tinygo-version: '0.30.0'
tinygo-version: '0.40.1'
```

### With custom Binaryen version
Expand All @@ -62,8 +62,8 @@ steps:
- uses: actions/checkout@v2
- uses: acifani/setup-tinygo@v2
with:
tinygo-version: '0.30.0'
binaryen-version: '116'
tinygo-version: '0.40.1'
binaryen-version: '129'
```

### Without Binaryen
Expand All @@ -75,6 +75,6 @@ steps:
- uses: actions/checkout@v2
- uses: acifani/setup-tinygo@v2
with:
tinygo-version: '0.30.0'
tinygo-version: '0.40.1'
install-binaryen: 'false'
```
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ branding:
inputs:
tinygo-version:
description: 'The exact TinyGo version to download and use.'
default: '0.30.0'
default: '0.40.1'
install-binaryen:
description: 'Whether you want to install Binaryen or not.'
default: 'true'
binaryen-version:
description: 'The exact Binaryen version to download and use.'
default: '116'
default: '129'
runs:
using: 'node20'
using: 'node24'
main: 'dist/index.js'
Loading
Loading