[cherry-pick for release-1.8]successfully scheduled events will not be reported repeatedly for podGroup resource #3645
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: Code Verify | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
pull_request: | |
jobs: | |
verify: | |
runs-on: ubuntu-22.04 | |
name: Verify codes, generated files | |
timeout-minutes: 40 | |
env: | |
GOPATH: /home/runner/work/${{ github.repository }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.20.x | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
path: ./src/github.com/${{ github.repository }} | |
- uses: actions/cache@v2 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
- name: Run verify test | |
run: | | |
make lint | |
make verify | |
make TAG=v1.8.0 generate-yaml | |
make verify-generated-yaml | |
make unit-test | |
working-directory: ./src/github.com/${{ github.repository }} |