Skip to content

Initial commit of protoc-gen-tonic #2

Initial commit of protoc-gen-tonic

Initial commit of protoc-gen-tonic #2

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
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.work
cache-dependency-path: "**/go.sum"
- name: run checks
run: go run build check
- name: build snapshot
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
run: go run build snapshot