Skip to content

build(deps): bump the dependencies group with 2 updates #25

build(deps): bump the dependencies group with 2 updates

build(deps): bump the dependencies group with 2 updates #25

Workflow file for this run

name: Pull Request build and test
on:
workflow_call:
workflow_dispatch:
merge_group:
pull_request:
push:
branches:
- main
env:
PLUGIN_ARTIFACT_NAME: 'openfga_intellij_plugin'
DIST_FOLDER: 'build/distributions'
jobs:
build:
name: Build OpenFGA plugin for IntelliJ Platform
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Java 17
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
java-version: 17
distribution: 'temurin'
- name: Build the plugin using Gradle
run: ./gradlew check buildPlugin
- name: Upload artifacts
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
name: '${{ env.PLUGIN_ARTIFACT_NAME }}'
path: '${{ env.DIST_FOLDER }}/'
test_compatibility:
name: Test plugin compatibility with IntelliJ Platform 2024.1
needs:
- build
runs-on: ubuntu-latest
strategy:
matrix:
ide-version:
- clion:2024.1
- goland:2024.1
- ideaIC:2024.1
- ideaIC:LATEST-EAP-SNAPSHOT
- ideaIU:2024.1
- phpstorm:2024.1
- pycharmPC:2024.1
- pycharmPY:2024.1
- riderRD:2024.1
- webstorm:2024.1
steps:
- name: Check out repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Download built plugin artifact
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: ${{ env.PLUGIN_ARTIFACT_NAME }}
path: ${{ env.DIST_FOLDER }}
- name: Verify Plugin on IntelliJ Platforms
id: verify
uses: ChrisCarini/intellij-platform-plugin-verifier-action@d77446f25d37dcbe69f72ae7da879b2ee8f85311 # v2.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
ide-versions: ${{ matrix.ide-version }}
plugin-location: '${{ env.DIST_FOLDER }}/*.zip'
- name: Get log file path and print contents
run: |
echo "The verifier log file [${{steps.verify.outputs.verification-output-log-filename}}] contents : " ;
cat ${{steps.verify.outputs.verification-output-log-filename}}