forked from SeldonIO/seldon-core
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (39 loc) · 1.06 KB
/
lint.yml
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
name: V2 Lint
on:
pull_request:
jobs:
lint:
name: lint
if: github.repository == 'SeldonIO/seldon-core' # Do not run this on forks.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.20.11'
cache: false
- name: lint-operator
uses: golangci/golangci-lint-action@v3
with:
version: v1.51.2
working-directory: operator
skip-cache: true
- name: lint-scheduler
uses: golangci/golangci-lint-action@v3
with:
version: v1.51.2
working-directory: scheduler
skip-cache: true
- name: lint-hodometer
uses: golangci/golangci-lint-action@v3
with:
version: v1.51.2
working-directory: hodometer
skip-cache: true
- name: lint-tls
uses: golangci/golangci-lint-action@v3
with:
version: v1.51.2
working-directory: components/tls
skip-cache: true
args: --timeout 3m --verbose