(backport v0.34.x) fix: Panic on nodeClassRef nil
dereference
#7210
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: presubmit | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
presubmit: | |
permissions: | |
issues: write | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
k8sVersion: ["1.23.x", "1.24.x", "1.25.x", "1.26.x", "1.27.x", "1.28.x", "1.29.x"] | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: ./.github/actions/install-deps | |
with: | |
k8sVersion: ${{ matrix.k8sVersion }} | |
- name: Enable the actionlint matcher | |
run: echo "::add-matcher::.github/actionlint-matcher.json" | |
- run: K8S_VERSION=${{ matrix.k8sVersion }} make presubmit | |
- name: Send coverage | |
# should only send converage once https://docs.coveralls.io/parallel-builds | |
if: matrix.k8sVersion == '1.29.x' | |
env: | |
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: goveralls -coverprofile=coverage.out -service=github |