fix(cnivpc): return error when add pod network record failed #27
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
name: Check Go Code | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.5 | |
- name: Install goimports | |
run: go install golang.org/x/tools/cmd/goimports@latest | |
- name: Check go format | |
run: bash scripts/check-fmt.sh | |
- name: Install check tools | |
run: make install-check | |
- name: Check go code | |
run: make check |