Skip to content

feat: integrate spellchecker (#40) #140

feat: integrate spellchecker (#40)

feat: integrate spellchecker (#40) #140

Workflow file for this run

name: Run tests with Gradle
on:
pull_request:
branches:
- develop
push:
branches:
- develop
tags:
- '*'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
- name: Run tests
run: ./gradlew test --no-daemon
publish:
needs:
- test
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install markdown tool and generate change notes
run: |
sudo apt-get update
sudo apt-get install markdown
{
echo 'CHANGE_NOTES<<EOF'
gh release view --json body --template "{{.body}}" $GITHUB_REF_NAME | markdown
echo EOF
} >> "$GITHUB_ENV"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
- name: Publish plugin
run: ./gradlew :thrift:publishPlugin --no-daemon
env:
JETBRAINS_TOKEN: ${{ secrets.JETBRAINS_TOKEN }}