Add GitHub actions. #3
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: CI | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
#- uses: graalvm/setup-graalvm@v1 | |
# with: | |
# java-version: '22' # See 'Options' section below for all supported versions | |
# distribution: 'graalvm' # See 'Options' section below for all available distributions | |
# github-token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'corretto' | |
java-version: 8 | |
- run: | | |
echo "JAVA_HOME: $JAVA_HOME" | |
java --version | |
./mvnw |