-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (42 loc) · 1.06 KB
/
codeql.yml
File metadata and controls
49 lines (42 loc) · 1.06 KB
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
name: CodeQL
on:
push:
branches: [ master ]
paths-ignore:
- '**/*.md'
- '**/*.txt'
- 'docs/**'
pull_request:
branches: [ master ]
paths-ignore:
- '**/*.md'
- '**/*.txt'
- 'docs/**'
permissions:
actions: read
contents: read
security-events: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
analyze:
runs-on: [ self-hosted, actions-runner ]
strategy:
fail-fast: false
matrix:
language: [ rust ]
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
- name: Setup CodeQL
run: echo "/opt/codeql" >> $GITHUB_PATH
- uses: >-
github/codeql-action/init@777daa0c71818e7f377c8adc5415f74544c87142
with:
languages: ${{ matrix.language }}
build-mode: none
- uses: >-
github/codeql-action/analyze@777daa0c71818e7f377c8adc5415f74544c87142
with:
category: "/language:${{ matrix.language }}"
continue-on-error: true