Skip to content

feat: Add Ktor integration #183

feat: Add Ktor integration

feat: Add Ktor integration #183

Workflow file for this run

name: Qodana
on:
pull_request:
push:
branches:
- master
jobs:
cleanup-run:
runs-on: ubuntu-latest
steps:
- name: Abort previous action run
uses: rokroskar/workflow-run-cleanup-action@v0.2.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
qodana-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Qodana Scan
uses: JetBrains/qodana-action@v5.0.2
timeout-minutes: 30
with:
args: "--linter,jetbrains/qodana-jvm-community,--fail-threshold,10"
use-caches: false
- name: Deploy to GitHub Pages
if: github.event_name != 'pull_request'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ${{ runner.temp }}/qodana/results/report
destination_dir: ./qodana/report