Skip to content

Merge pull request #965 from traPtitech/feat/auto-shutdown #127

Merge pull request #965 from traPtitech/feat/auto-shutdown

Merge pull request #965 from traPtitech/feat/auto-shutdown #127

Workflow file for this run

name: Proto gen
on:
push:
branches:
- 'main'
paths:
- 'api/**'
pull_request:
paths:
- 'api/**'
jobs:
protoc:
name: Check protoc diff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- uses: arduino/setup-protoc@v3
with:
version: "27.1"
- name: Install proto tools
run: make init-protoc-tools
- name: Generate code
run: make gen-proto
env:
GO_REPO_ROOT_PACKAGE: github.com/traPtitech/neoshowcase
- name: Check diff
run: git diff --exit-code