Skip to content

build(deps): bump actions/checkout from 3 to 4 #40

build(deps): bump actions/checkout from 3 to 4

build(deps): bump actions/checkout from 3 to 4 #40

Workflow file for this run

on:
push:
pull_request:
merge_group:
workflow_dispatch:
name: test
jobs:
test:
strategy:
matrix:
go-version: [oldstable, stable]
os: [ubuntu-latest, macos-latest] # TODO(tmc): enable windows builds
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
stable: '!contains(${{ matrix.go-version }}, "beta") && !contains(${{ matrix.go-version }}, "rc")'
go-version: ${{ matrix.go-version }}
- name: Check out code
uses: actions/checkout@v4
- name: Run esbuild
run: bash -x ./scripts/setup-and-bundle-test-cra-app.sh
- name: Test
run: go test -v ./...
- name: Test with Race Detector
run: go test -race ./...
- name: Benchmarks
run: go test -v -run=XXX -benchmem -bench=.*