This repository has been archived by the owner on May 16, 2024. It is now read-only.
Add higress e2e test #104
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: CI | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "*" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-12 | |
- ubuntu-22.04 | |
- windows-2022 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '^1.20.0' | |
- name: setup tinygo | |
uses: acifani/setup-tinygo@v1 | |
with: | |
tinygo-version: 0.30.0 | |
- name: setup wasmtime for tinygo | |
run: go install github.com/wasilibs/tools/cmd/wasmtime@e3baa6a6b2955f731f4490728b09fb87b35e27e9 | |
- run: go run mage.go lint | |
if: ${{ startsWith(matrix.os, 'ubuntu-') }} | |
- run: go run mage.go test |