Skip to content

Commit

Permalink
fix: you know what, forget the code inspection!
Browse files Browse the repository at this point in the history
  • Loading branch information
WalrusSoup authored Nov 21, 2024
1 parent fbbcbf3 commit 7ead14a
Showing 1 changed file with 37 additions and 36 deletions.
73 changes: 37 additions & 36 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,42 +134,43 @@ jobs:
files: ${{ github.workspace }}/build/reports/kover/report.xml

# Run Qodana inspections and provide report
inspectCode:
name: Inspect code
needs: [ build ]
runs-on: ubuntu-latest
permissions:
contents: write
checks: write
pull-requests: write
steps:

# Free GitHub Actions Environment Disk Space
- name: Maximize Build Space
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
large-packages: false

# Check out the current repository
- name: Fetch Sources
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
fetch-depth: 0 # a full history is required for pull request analysis

# Set up Java environment for the next steps
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17

# Run Qodana inspections
- name: Qodana - Code Inspection
uses: JetBrains/[email protected]
with:
cache-default-branch-only: true
# THIS DOES NOT WORK AND IM NOT SMART ENOUGH TO FIGURE IT OUT
# inspectCode:
# name: Inspect code
# needs: [ build ]
# runs-on: ubuntu-latest
# permissions:
# contents: write
# checks: write
# pull-requests: write
# steps:

# # Free GitHub Actions Environment Disk Space
# - name: Maximize Build Space
# uses: jlumbroso/free-disk-space@main
# with:
# tool-cache: false
# large-packages: false

# # Check out the current repository
# - name: Fetch Sources
# uses: actions/checkout@v4
# with:
# ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
# fetch-depth: 0 # a full history is required for pull request analysis

# # Set up Java environment for the next steps
# - name: Setup Java
# uses: actions/setup-java@v4
# with:
# distribution: zulu
# java-version: 17

# # Run Qodana inspections
# - name: Qodana - Code Inspection
# uses: JetBrains/[email protected]
# with:
# cache-default-branch-only: true

# Run plugin structure verification along with IntelliJ Plugin Verifier
verify:
Expand Down

0 comments on commit 7ead14a

Please sign in to comment.