update pom.xml(deps): bump org.antlr:antlr4-maven-plugin #105
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
# This workflow will test this Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Test with Maven | |
on: | |
workflow_dispatch: | |
push: | |
jobs: | |
test: | |
# linux is cool. Maybe I'll add more targets later? shouldn't ever matter | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Set up Java 21 | |
uses: actions/setup-java@v4 | |
with: | |
# this distribution is cached by github actions | |
distribution: 'temurin' | |
# jdk version to use, specified in pom.xml | |
java-version: '21' | |
# use the github actions cached jdk if available. | |
check-latest: false | |
- name: Generate Maven settings.xml | |
uses: s4u/[email protected] | |
with: | |
servers: '[{"id": "github-smp", "username": "${{ secrets.USERNAME }}", "password": "${{ secrets.TOKEN }}"}]' | |
- name: mvn test | |
# maven almost always fails to generate sources correctly without cleaning | |
# transfer progress is disabled to avoid spamming the log with progress bars | |
run: mvn clean test --file pom.xml --no-transfer-progress |