housekeeping: Update github.com/shurcooL/graphql digest to 24ceaa0 (#… #5449
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.20.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.20.x | |
- name: lint | |
run: make api-lint |