Skip to content

feat(middleware): v4 experimental middleware #2330

feat(middleware): v4 experimental middleware

feat(middleware): v4 experimental middleware #2330

Workflow file for this run

name: Tinygo tests
on:
push:
branches:
- main
paths-ignore:
- "**/*.md"
- "LICENSE"
pull_request:
branches:
- main
paths-ignore:
- "**/*.md"
- "LICENSE"
jobs:
test:
strategy:
matrix:
go-version: [1.19.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true
- name: setup tinygo
uses: acifani/setup-tinygo@v2
with:
tinygo-version: 0.27.0
- name: Cache TinyGo build
uses: actions/cache@v3
with:
path: |
~/.cache/tinygo
key: ${{ runner.os }}-tinygo-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-tinygo-
- name: Tests
run: tinygo test ./...
- name: Tests memoize
run: tinygo test -tags=memoize_builders ./...