Merge pull request #19 from theiterators/chore/support-intellij-243_v2 #85
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:2023.3.1 | |
ideaIU:2023.3.1 | |
ideaIC:2024.3 | |
ideaIU:2024.3 | |
failure-levels: | | |
COMPATIBILITY_PROBLEMS | |
INVALID_PLUGIN |