[gradle] Bump org.jetbrains.intellij.platform from 2.1.0 to 2.2.1 #317
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: Build | |
# Ensure that the code compiles and that tests pass | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
jobs: | |
test: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch Sources | |
uses: actions/checkout@v4 | |
- name: Gradle Wrapper Validation | |
uses: gradle/[email protected] | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: 17 | |
- name: Run Linters and Test | |
run: ./gradlew check | |
- name: Check code format follow google-style | |
run: ./gradlew verifyGoogleJavaFormat | |
- name: Build Plugin | |
run: ./gradlew buildPlugin | |
- name: Extract PR number | |
if: github.event_name == 'pull_request' | |
run: echo ${{ github.event.number }} > PR_NUMBER.txt | |
- name: Store PR number | |
if: github.event_name == 'pull_request' | |
uses: actions/[email protected] | |
with: | |
name: PR_NUMBER | |
path: PR_NUMBER.txt | |
retention-days: 1 | |
if-no-files-found: error | |
- name: Store build files | |
uses: actions/[email protected] | |
with: | |
name: BUILD_FILES | |
path: | | |
build/classes | |
build/generated | |
build/libs | |
retention-days: 1 | |
if-no-files-found: error |