Skip to content

Commit

Permalink
docs: update readme with latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
acifani committed Oct 27, 2023
1 parent a72db28 commit b2ba42b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ This actions sets up a TinyGo environment for GitHub Actions.
```yaml
steps:
- uses: actions/checkout@v2
- uses: acifani/setup-tinygo@v1
- uses: acifani/setup-tinygo@v2
with:
tinygo-version: '0.27.0'
tinygo-version: '0.30.0'
```
### With matrix expansion
Expand All @@ -25,11 +25,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
tinygo: ['0.26.0', '0.27.0']
tinygo: ['0.29.0', '0.30.0']
name: TinyGo ${{ matrix.tinygo }}
steps:
- uses: actions/checkout@v2
- uses: acifani/setup-tinygo@v1
- uses: acifani/setup-tinygo@v2
with:
tinygo-version: ${{ matrix.tinygo }}
```
Expand All @@ -45,10 +45,10 @@ steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.19
- uses: acifani/setup-tinygo@v1
go-version: 1.21
- uses: acifani/setup-tinygo@v2
with:
tinygo-version: '0.27.0'
tinygo-version: '0.30.0'
```

### With custom Binaryen version
Expand All @@ -60,10 +60,10 @@ You can customize the version with the dedicated input value
```yaml
steps:
- uses: actions/checkout@v2
- uses: acifani/setup-tinygo@v1
- uses: acifani/setup-tinygo@v2
with:
tinygo-version: '0.27.0'
binaryen-version: '110'
tinygo-version: '0.30.0'
binaryen-version: '116'
```

### Without Binaryen
Expand All @@ -73,8 +73,8 @@ If you don't need Binaryen, you can omit the installation
```yaml
steps:
- uses: actions/checkout@v2
- uses: acifani/setup-tinygo@v1
- uses: acifani/setup-tinygo@v2
with:
tinygo-version: '0.27.0'
tinygo-version: '0.30.0'
install-binaryen: 'false'
```

0 comments on commit b2ba42b

Please sign in to comment.