-
Notifications
You must be signed in to change notification settings - Fork 448
57 lines (45 loc) · 1.09 KB
/
analysis.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
name: Analysis
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: 13 7 * * 6
jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: golangci-lint
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc
with:
version: v1.56.2
- name: shellcheck
uses: azohra/shell-linter@6bbeaa868df09c34ddc008e6030cfe89c03394a1
with:
path: scripts/test-*
severity: error
- name: yaml-lint
uses: ibiqlik/action-yamllint@v3
with:
config_file: .yamllint.yml
vulnerabilities:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: initialize
uses: github/codeql-action/init@v2
with:
languages: go
- name: codeql analyze
uses: github/codeql-action/analyze@v2