fix(nvidia/hw-slowdown): evaluate state based on clock events per-minute frequency for the last 10-minute #1161
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
# https://github.com/golangci/golangci-lint-action?tab=readme-ov-file#options | |
name: tests-unit | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
paths: | |
- "**.go" | |
- go.mod | |
- go.sum | |
branches: ["**"] | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
tests-unit: | |
name: tests-unit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions/setup-go@v5 | |
with: | |
cache: false | |
go-version-file: go.mod | |
- name: run unit tests | |
run: | | |
./scripts/tests-unit.sh |