housekeeping: Update google.golang.org/genproto/googleapis/api digest to 8c6c420 #5903
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
name: api | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'api/**' | |
- 'backend/api/**' | |
- backend/go.mod | |
- backend/go.sum | |
- 'frontend/api/**' | |
- tools/compile-protos.sh | |
- .github/workflows/api.yml | |
- Makefile | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21.x | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
check-latest: true | |
- name: build and verify | |
run: make api-verify | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21.x | |
- name: lint | |
run: make api-lint |