Skip to content

"Fix the issue where scheduling can still occur on the node when the device-plugin crashes #430

"Fix the issue where scheduling can still occur on the node when the device-plugin crashes

"Fix the issue where scheduling can still occur on the node when the device-plugin crashes #430

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: ["master"]
env:
GO_VERSION: "1.21.6"
jobs:
golangci:
name: lint
runs-on: ubuntu-22.04
steps:
- name: checkout code
uses: actions/checkout@v4
- name: install Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: verify license
run: hack/verify-license.sh
- name: go tidy
run: make tidy
- name: lint
run: make lint
- name: import alias
run: hack/verify-import-aliases.sh
test:
name: Unit test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Checkout submodule
uses: Mushus/[email protected]
with:
basePath: # optional, default is .
submodulePath: libvgpu
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
- run: make tidy
- run: make test