Updated all GitHub Actions workflows to use self-hosted runners instead of `ubuntu-latest`. This change ensures better control over the CI environment and aligns with internal infrastructure requirements.
29 lines
792 B
YAML
29 lines
792 B
YAML
name: Qodana Configuration Upload
|
|
|
|
on:
|
|
push:
|
|
branches: [main, dev]
|
|
pull_request:
|
|
branches: [main]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
upload-qodana-config:
|
|
runs-on: [self-hosted, Linux, X64, default]
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Run Qodana Configuration Uploader
|
|
env:
|
|
QODANA_CONFIGURATIONS_TOKEN: ${{ secrets.QODANA_CONFIGURATIONS_TOKEN }}
|
|
run: |
|
|
docker run --rm \
|
|
-v $(pwd):/workspace \
|
|
-w /workspace \
|
|
-e QODANA_CONFIGURATIONS_TOKEN=$QODANA_CONFIGURATIONS_TOKEN \
|
|
jetbrains/qodana-configuration-uploader:latest \
|
|
--global-configs-file qodana-global-configurations.yaml \
|
|
--qodana-host https://qodana.cloud
|