ci: try out qodana
Signed-off-by: Timothy Schenk <admin@rainote.dev>
This commit is contained in:
parent
9286c9fe98
commit
bd0bdfa2a0
1 changed files with 38 additions and 0 deletions
38
.gitea/workflows/server_qa.yaml
Normal file
38
.gitea/workflows/server_qa.yaml
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths-ignore:
|
||||||
|
- Wiki/**
|
||||||
|
- Benchmarks/**
|
||||||
|
- .run/**
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
preprocess:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
sanitized_branch_name: ${{ steps.sanitize.outputs.sanitized_branch_name }}
|
||||||
|
steps:
|
||||||
|
- name: Sanitize branch name
|
||||||
|
id: sanitize
|
||||||
|
run: echo "::set-output name=sanitized_branch_name::$(echo ${{ github.ref_name }} | sed 's/\//-/g')"
|
||||||
|
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Setup dotnet
|
||||||
|
uses: https://github.com/actions/setup-dotnet@v3
|
||||||
|
with:
|
||||||
|
global-json-file: global.json
|
||||||
|
- name: Install dependencies
|
||||||
|
run: dotnet restore
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
dotnet build Continuity.AuthServer -c Release
|
||||||
|
- name: Qodana Scan
|
||||||
|
uses: JetBrains/qodana-action@v2024.3
|
||||||
|
with:
|
||||||
|
# args: --linter,jetbrains/qodana-dotnet:2024.3
|
||||||
|
# args: --linter,jetbrains/qodana-cdnet:2024.3-eap
|
||||||
|
env:
|
||||||
|
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
|
Loading…
Add table
Reference in a new issue