Skip to content

Add server instrumentation and build multi-platform images (#5) #16

Add server instrumentation and build multi-platform images (#5)

Add server instrumentation and build multi-platform images (#5) #16

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- "*"
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-13
- macos-14
- ubuntu-22.04
- windows-2022
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.work
cache-dependency-path: "**/go.sum"
- name: run lints
# We don't have OS-specific code so would be completely repetitive to run
# lint on all of them.
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
run: go run build lint
- name: run tests
run: go run build test