forked from kubernetes/autoscaler
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 911 Bytes
/
ca-test.yaml
File metadata and controls
42 lines (35 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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@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/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/for-go-proj.sh cluster-autoscaler
env:
GO111MODULE: auto
PROJECT_NAMES: ""