TinyGo Support and Cloudflare Workers Example #25
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
go: | |
name: Test Go packages | |
runs-on: ubuntu-latest | |
container: | |
image: golang:alpine | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Test all modules | |
run: | | |
apk add --no-cache bash gcc g++ openssl-dev | |
export GOFLAGS=-buildvcs=false | |
go work init | |
go work use -r . | |
go test -v ./... | |
go test -v ./examples/... | |
go test -v ./fsim/... | |
go test -v ./sqlite/... | |
go test -v ./tpm/... |