build: use TinyGo latest release for CI builds. #1496
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: Linux | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - dev | |
| - release | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/tinygo-org/tinygo:latest | |
| options: --user root | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: TinyGo version check | |
| run: tinygo version | |
| - name: Add required GOFLAGS | |
| run: go env -w GOFLAGS=-buildvcs=false | |
| - name: Run unit tests | |
| run: go test | |
| - name: Run TinyGo smoke tests | |
| run: make smoketest-tinygo | |
| - name: Run Linux smoke tests | |
| run: make smoketest-linux | |
| - name: "Run Windows cross-compiled smoke tests" | |
| run: make smoketest-windows |