feat: apply the changes of Finschia v3.0.0-rc1 #60
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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@v5 | |
with: | |
go-version: '1.20' | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Install protoc | |
uses: arduino/setup-protoc@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
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 |