Support Jetbrains 2024.3 (243.21565.193) #626
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: Test | |
on: pull_request | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ideaVersion: [ "2024.2.0.1" ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup JBR 21 | |
uses: gmitch215/setup-java@6d2c5e1f82f180ae79f799f0ed6e3e5efb4e664d | |
with: | |
distribution: 'jetbrains' | |
java-version: 21 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: 24.3.4.6 | |
elixir-version: 1.13.4 | |
- name: Export OTP_RELEASE | |
run: echo "OTP_RELEASE=24.3.4.6" >> $GITHUB_ENV | |
- name: Export ERLANG_SDK_HOME | |
run: echo "ERLANG_SDK_HOME=`erl -eval 'io:format("~s", [code:root_dir()]).' -noshell -run init stop`" >> $GITHUB_ENV | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Export ideaVersion to gradle | |
run: echo "ORG_GRADLE_PROJECT_ideaVersion=${{matrix.ideaVersion}}" >> $GITHUB_ENV | |
- name: Compile Tests with Gradle | |
run: ./gradlew --stacktrace compileTestJava | |
- name: Get Elixir Source | |
run: ./gradlew --stacktrace getElixir | |
- name: Release Quoter | |
run: ./gradlew --stacktrace releaseQuoter | |
- name: Test with Gradle | |
run: ./gradlew --stacktrace test | |
verifyPlugin: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup JBR 21 | |
uses: gmitch215/setup-java@6d2c5e1f82f180ae79f799f0ed6e3e5efb4e664d | |
with: | |
distribution: 'jetbrains' | |
java-version: 21 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Run Plugin Verifier | |
run: ./gradlew --stacktrace verifyPlugin |