SKS-2174: Gracefully shutdown VM with vGPU to ensure successful release of vGPU license lease #637
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: build | |
on: | |
push: | |
branches: | |
- main | |
- master | |
- release-* | |
tags: | |
- v* | |
pull_request: | |
branches: | |
- main | |
- master | |
- release-* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Calculate go version | |
run: echo "go_version=$(make go-version)" >> $GITHUB_ENV | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ env.go_version }} | |
- run: make lint | |
- run: make test | |
- uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |