Skip to content

Commit f36481d

Browse files
committed
Reintroduce basic "check IDE compatibility" workflow
Fixes xdev-software/intellij-plugin-template#48
1 parent 40772b8 commit f36481d

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Check IDE Compatibility
2+
3+
on:
4+
schedule:
5+
- cron: '55 2 * * 1'
6+
workflow_dispatch:
7+
8+
jobs:
9+
check-ide-compatibility:
10+
runs-on: ubuntu-latest
11+
timeout-minutes: 45
12+
steps:
13+
- name: Free up disk space
14+
run: |
15+
sudo df -h
16+
sudo docker system prune -af || true
17+
sudo rm -rf /usr/share/dotnet \
18+
/usr/local/.ghcup \
19+
/usr/local/swift \
20+
/usr/share/swift \
21+
/usr/lib/jvm \
22+
/usr/local/lib/android \
23+
/usr/lib/google-cloud-sdk \
24+
/usr/local/share/boost \
25+
/usr/local/share/powershell \
26+
/usr/local/share/chromium \
27+
/usr/local/lib/node_modules \
28+
/usr/lib/mono \
29+
/usr/lib/heroku \
30+
/usr/lib/firefox \
31+
/usr/share/miniconda \
32+
/opt/microsoft \
33+
/opt/chrome \
34+
/opt/pipx \
35+
"$AGENT_TOOLSDIRECTORY" || true
36+
sudo df -h
37+
38+
- uses: actions/checkout@v4
39+
40+
- name: Set up JDK
41+
uses: actions/setup-java@v4
42+
with:
43+
distribution: 'temurin'
44+
java-version: 21
45+
46+
- name: Check compatibility
47+
run: ./gradlew verifyPlugin --info
48+
49+
- name: Upload report
50+
uses: actions/upload-artifact@v4
51+
with:
52+
name: plugin-verifier-reports
53+
path: build/reports/pluginVerifier/**
54+
if-no-files-found: warn

0 commit comments

Comments
 (0)