build(deps): bump actions/setup-node from 3 to 4 #39
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@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@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 |