Skip to content

ci: add release asset github action #33

ci: add release asset github action

ci: add release asset github action #33

Workflow file for this run

# Verify that generated code is up-to-date.
name: Check generated code
on:
workflow_dispatch:
pull_request:
branches:
- '*'
permissions:
contents: read
jobs:
check-swagger:
runs-on: ubuntu-latest
steps:
- name: Setup Golang
uses: actions/setup-go@v4
with:
go-version: '1.20'
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Install protoc
uses: arduino/setup-protoc@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "16"
- run: if [ ! -x "$(command -v yarn)" ]; then npm install -g yarn; fi
- name: Check generated swagger docs
run: scripts/ci/check-generated.sh