Skip to content

Support for IntelliJ 2024.1 #74

Support for IntelliJ 2024.1

Support for IntelliJ 2024.1 #74

Workflow file for this run

name: Continuous Integration
on: [push]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Scala
uses: olafurpg/setup-scala@v14
with:
java-version: "[email protected]"
- name: Cache sbt
uses: actions/cache@v3
with:
path: |
~/.sbt
~/.ivy2/cache
~/.coursier/cache/v1
~/.cache/coursier/v1
~/AppData/Local/Coursier/Cache/v1
~/Library/Caches/Coursier/v1
~/.kebs-intellijPluginIC/
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}-${{ hashFiles('project/plugins.sbt') }}
- name: Run tests
run: sbt test
shell: bash
verify:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Scala
uses: olafurpg/setup-scala@v14
with:
java-version: "[email protected]"
- name: Cache sbt
uses: actions/cache@v3
with:
path: |
~/.sbt
~/.ivy2/cache
~/.coursier/cache/v1
~/.cache/coursier/v1
~/AppData/Local/Coursier/Cache/v1
~/Library/Caches/Coursier/v1
~/.kebs-intellijPluginIC/
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}-${{ hashFiles('project/plugins.sbt') }}
- name: Build the plugin
run: sbt test packageArtifact
shell: bash
- name: Verify Plugin on IntelliJ Platforms
id: verify
uses: ChrisCarini/intellij-platform-plugin-verifier-action@latest
with:
plugin-location: 'target/plugin/kebs-intellij/lib/kebs-intellij.jar'
ide-versions: |
ideaIC:2022.3.3
ideaIU:2022.3.3
ideaIC:2023.3.1
ideaIU:2023.3.1
ideaIC:2024.1
ideaIU:2024.1
failure-levels: |
COMPATIBILITY_PROBLEMS
INVALID_PLUGIN