Skip to content

feat: support file pre upload #14

feat: support file pre upload

feat: support file pre upload #14

name: Qodana
on:
workflow_dispatch:
push:
branches:
- master
jobs:
qodana:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
checks: write
steps:
- uses: actions/checkout@v3
# 在 GitHub Actions 时使用官方源
- name: Replace Gradle Wrapper Distribution Url
run: |
sed -i 's#mirrors.cloud.tencent.com/gradle#services.gradle.org/distributions#g' gradle/wrapper/gradle-wrapper.properties
- name: 'Qodana Scan'
uses: JetBrains/[email protected]
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}