-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (31 loc) · 805 Bytes
/
ci.yaml
File metadata and controls
38 lines (31 loc) · 805 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
name: CI
on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
linters:
name: Linters
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Format check
run: yarn format:check
- name: Lint files
run: yarn lint
- name: Type check files
run: yarn tsc
- name: Run Trivy vulnerability scanner in fs mode
uses: aquasecurity/trivy-action@0.35.0
with:
scan-type: 'fs'
scan-ref: '.'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'