generated from OakvilleDynamics/frc-robot-template
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 1.11 KB
/
qodana.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
# Qodana is a code quality analysis tool that helps you to improve your code quality and find bugs and security vulnerabilities.
# This helps with keeping code quality high and reducing the number of bugs and security vulnerabilities in your code.
#
# To learn more about Qodana, visit https://www.jetbrains.com/help/qodana/getting-started.html
name: "Qodana"
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
qodana:
runs-on: ubuntu-latest
permissions:
# required for all workflows
security-events: write
# only required for workflows in private repositories
actions: read
contents: read
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Qodana Scan'
uses: JetBrains/[email protected]
- name: 'Publish to CodeQL'
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json
category: jetbrains-qodana