AEP-7862: Make API changes for CPU Startup boost #10756
Workflow file for this run
This file contains hidden or 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: Tests | |
on: | |
- push | |
- pull_request | |
env: | |
GOPATH: ${{ github.workspace }}/go | |
permissions: | |
contents: read | |
checks: write | |
jobs: | |
test-and-verify: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
path: ${{ env.GOPATH }}/src/k8s.io/autoscaler | |
- name: Set up Go | |
uses: actions/[email protected] | |
with: | |
go-version: '1.24.0' | |
cache-dependency-path: | | |
${{ env.GOPATH}}/src/k8s.io/autoscaler/cluster-autoscaler/go.sum | |
${{ env.GOPATH}}/src/k8s.io/autoscaler/vertical-pod-autoscaler/go.sum | |
${{ env.GOPATH}}/src/k8s.io/autoscaler/vertical-pod-autoscaler/e2e/go.sum | |
- name: Apt-get | |
run: sudo apt-get install libseccomp-dev -qq | |
- name: Prepare | |
working-directory: ${{ env.GOPATH }}/src/k8s.io/autoscaler | |
run: hack/install-verify-tools.sh | |
env: | |
GO111MODULE: auto | |
- name: Verify | |
working-directory: ${{ env.GOPATH }}/src/k8s.io/autoscaler | |
run: hack/verify-all.sh -v | |
env: | |
GO111MODULE: auto | |
- name: golangci-lint - vertical-pod-autoscaler | |
uses: golangci/golangci-lint-action@v8 | |
with: | |
args: --timeout=30m | |
working-directory: ${{ env.GOPATH }}/src/k8s.io/autoscaler/vertical-pod-autoscaler | |
- name: Test | |
working-directory: ${{ env.GOPATH }}/src/k8s.io/autoscaler | |
run: hack/for-go-proj.sh test | |
env: | |
GO111MODULE: auto |