continuity/.gitea/workflows/server_qa.yaml
Timothy Schenk 77bf850d3f
Some checks failed
/ preprocess (push) Successful in 2s
/ build (push) Successful in 10m20s
/ qodana (push) Failing after 2s
ci: attempt3
Signed-off-by: Timothy Schenk <admin@rainote.dev>
2025-01-26 16:08:43 +01:00

53 lines
1.3 KiB
YAML

on:
push:
paths-ignore:
- Wiki/**
- Benchmarks/**
- .run/**
jobs:
preprocess:
env:
RUNNER_TOOL_CACHE: /toolcache
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:
env:
RUNNER_TOOL_CACHE: /toolcache
runs-on: ubuntu-latest
container: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
cache-image: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- 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
qodana:
env:
RUNNER_TOOL_CACHE: /toolcache
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
runs-on: ubuntu-latest
container: jetbrains/qodana-dotnet:2024.3
steps:
- name: Idk
run: |
qodana scan