-
Notifications
You must be signed in to change notification settings - Fork 13
33 lines (31 loc) · 922 Bytes
/
ci.yaml
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
name: CI tests
on: pull_request
jobs:
ci:
runs-on: ubuntu-latest
name: ci
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: -quiet -exclude=G107 ./...
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
# version: v1.46
args: -v --timeout 5m --no-config ./...
- name: Install k8s Kind Cluster
uses: helm/kind-action@v1.10.0
with:
install_only: true
- name: Prepare test environment
run: make local-test
- name: Run e2e tests
run: make e2e-tests