housekeeping: Update k8s.io/utils digest to 18e509b (#3062) #6197
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.22.x | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.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.22.x | |
- name: lint | |
run: make api-lint | |