-
Notifications
You must be signed in to change notification settings - Fork 44
48 lines (38 loc) · 1007 Bytes
/
Copy pathoperator.yaml
File metadata and controls
48 lines (38 loc) · 1007 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
43
44
45
46
47
48
name: operator ci
on:
push:
branches: [ master, pre_*, ft_*, release/* ]
paths: ['src/operator/**']
pull_request:
branches: [ master, pre_*, ft_*, release/* ]
paths: ['src/operator/**']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: 1.25.5
cache-dependency-path: src/operator/go.sum
- name: Init
run: make init
working-directory: src/operator
- name: Lint
uses: golangci/golangci-lint-action@v9
with:
version: v2.11
working-directory: src/operator
- name: Aqua Security Trivy
uses: aquasecurity/trivy-action@v0.35.0
continue-on-error: true
with:
scan-type: 'fs'
scan-ref: 'src/operator'
- name: Test
run: make test
working-directory: src/operator
- name: Integration Test
run: make integration
working-directory: src/operator