8325 go ver #180
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: Vertical Pod Autoscaler | |
| on: | |
| push: | |
| paths: | |
| - 'vertical-pod-autoscaler/**' | |
| pull_request: | |
| paths: | |
| - 'vertical-pod-autoscaler/**' | |
| env: | |
| GOPATH: ${{ github.workspace }}/go | |
| permissions: | |
| contents: read | |
| checks: write | |
| jobs: | |
| test: | |
| name: Run unit tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4.2.2 | |
| with: | |
| path: ${{ env.GOPATH }}/src/k8s.io/autoscaler | |
| - name: Set up Go | |
| uses: actions/setup-go@v5.5.0 | |
| with: | |
| go-version: '1.24.0' | |
| cache-dependency-path: | | |
| ${{ 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: Test | |
| working-directory: ${{ env.GOPATH }}/src/k8s.io/autoscaler | |
| run: hack/for-go-proj.sh vertical-pod-autoscaler | |
| env: | |
| GO111MODULE: auto | |
| PROJECT_NAMES: "" |