-
Notifications
You must be signed in to change notification settings - Fork 29
43 lines (39 loc) · 781 Bytes
/
lint.yml
File metadata and controls
43 lines (39 loc) · 781 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
name: Lint
on:
push:
branches:
- main
- release/**
paths-ignore:
- "*.md"
- "charts/**"
- "config/**"
pull_request:
branches:
- main
- release/**
paths-ignore:
- "*.md"
- "charts/**"
- "config/**"
jobs:
lint:
name: Run on Ubuntu
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Clone the code
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: '~1.25'
- name: Install Deps
run: |
go mod vendor
bash ./scripts/patch-scheduler.sh
- name: Run linter
uses: golangci/golangci-lint-action@v9
with:
version: v2.8.0