✨ Cherry pick enable-sync-lables to 0.13 #1264
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: Pre | |
on: | |
workflow_dispatch: {} | |
pull_request: | |
paths-ignore: | |
- 'solutions/**' | |
- 'assets/**' | |
- 'troubleshooting/**' | |
- ".github/ISSUE_TEMPLATE/*" | |
branches: | |
- main | |
- release-* | |
env: | |
GO_VERSION: '1.21' | |
GO_REQUIRED_MIN_VERSION: '' | |
permissions: | |
contents: read | |
jobs: | |
verify: | |
name: verify | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v3 | |
- name: install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: verify | |
run: make verify | |
- name: verify-deps | |
run: make verify-deps | |
- name: verify-fmt-imports | |
run: make verify-fmt-imports | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v3 | |
- name: install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: build | |
run: make build | |
unit: | |
name: unit | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v3 | |
- name: install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: unit | |
run: make test | |
integration: | |
name: integration | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v3 | |
- name: install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: integration | |
run: make test-integration |