Skip to content

Bump dorny/paths-filter from 2.11.1 to 3.0.0 (#325) #2126

Bump dorny/paths-filter from 2.11.1 to 3.0.0 (#325)

Bump dorny/paths-filter from 2.11.1 to 3.0.0 (#325) #2126

Workflow file for this run

name: IntelliJ Plugin Compatibility
on:
# Trigger the workflow on pushes to only the 'main' branch (this avoids duplicate checks being run e.g. for dependabot pull requests)
push:
branches: [ main ]
# Trigger the workflow on any pull request
pull_request:
# Trigger the workflow on a schedule; daily
schedule:
- cron: '0 0 * * *'
jobs:
files-changed:
uses: ./.github/workflows/files-changed.yaml
compatibility:
name: Ensure plugin compatibility against targeted platform version & the latest EAP snapshot for both IDEA Community, IDEA Ultimate.
runs-on: ubuntu-latest
needs: files-changed
if: needs.files-changed.outputs.SKIP_CI == 'false'
steps:
- name: Check out repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Java 17
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
with:
java-version: 17
distribution: 'zulu'
cache: gradle
- name: Build the plugin
run: ./gradlew buildPlugin
- name: Generate IDE Versions List
run: ./gradlew generateIdeVersionsList
# https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
# https://github.com/jlumbroso/free-disk-space
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
with:
# this remove tools (actions/setup-java) that are needed; hence, disable.
tool-cache: false
# this removes docker images that are needed, like the one that is built at the beginning of the workflow run
# for the below action (ChrisCarini/intellij-platform-plugin-verifier-action@latest); hence, disable.
docker-images: false
- name: Verify plugin on IntelliJ Platforms
id: verify
uses: ChrisCarini/intellij-platform-plugin-verifier-action@latest
with:
# Generated from the `generateIdeVersionsList` task above.
ide-versions: build/intellij-platform-plugin-verifier-action-ide-versions-file.txt
- name: Get log file path and print contents
run: |
echo "The log file path is: ${{steps.verify.outputs.verification-output-log-filename}}" ;
cat ${{steps.verify.outputs.verification-output-log-filename}}