Merge pull request #207 from n0ise9914/patch-1 #322
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: {} | |
workflow_dispatch: {} | |
jobs: | |
test: | |
strategy: | |
matrix: | |
version: [11, 17] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '${{ matrix.version }}' | |
distribution: 'adopt' | |
cache: maven | |
- name: Test | |
run: mvn --batch-mode -Dgpg.skip=true test | |
env: | |
HCLOUD_TOKEN: ${{ secrets.HETZNER_CI_TOKEN }} |