fix(oci): correct OCPU-to-vCPU conversion for A1 shapes and instance pools #1195
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: Cluster Autoscaler | |
| on: | |
| push: | |
| paths: | |
| - 'cluster-autoscaler/**' | |
| pull_request: | |
| paths: | |
| - 'cluster-autoscaler/**' | |
| env: | |
| GOPATH: ${{ github.workspace }}/go | |
| permissions: | |
| contents: read | |
| checks: write | |
| jobs: | |
| test: | |
| name: test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| path: ${{ env.GOPATH }}/src/k8s.io/autoscaler | |
| - name: Set up Go | |
| uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 | |
| with: | |
| go-version: '1.25' | |
| cache-dependency-path: | | |
| ${{ env.GOPATH}}/src/k8s.io/autoscaler/cluster-autoscaler/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/go-unit-tests-ca.sh | |
| env: | |
| GO111MODULE: auto | |
| PROJECT_NAMES: "" |