Skip to content

Revert "Bump braces and gulp in /website (#480)" #581

Revert "Bump braces and gulp in /website (#480)"

Revert "Bump braces and gulp in /website (#480)" #581

name: Build and Test
on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# test against relevant LTS versions of Java
java: [ 17, 21 ]
name: Build ktfmt on Java ${{ matrix.java }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: zulu
- name: Build ktfmt
run: mvn -B install --file pom.xml
- name: Build ktfmt_idea_plugin
run: |
pushd ktfmt_idea_plugin
./gradlew build --no-daemon
popd
- name: Build the Online Formatter
run: |
pushd online_formatter
./gradlew build --no-daemon
popd