Skip to content

Bump maven-checkstyle-plugin from 3.2.1 to 3.2.2 #291

Bump maven-checkstyle-plugin from 3.2.1 to 3.2.2

Bump maven-checkstyle-plugin from 3.2.1 to 3.2.2 #291

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11.0.x
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Build jsyntrax
run: mvn -B package --file pom.xml -pl jsyntrax
- name: Install jsyntrax
run: sudo ln -s $(pwd)/jsyntrax/target/appassembler/bin/syntrax /usr/local/bin/syntrax && syntrax --version
- name: Build documentation
run: mvn -B verify --file pom.xml -pl doc
- name: Deploy to GitHub Pages
if: success() && github.ref == 'refs/heads/main'
uses: crazy-max/ghaction-github-pages@v2
with:
target_branch: gh-pages
build_dir: doc/target/generated-docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}