Update job name in GitHub workflow #55
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: Checks | |
on: [ push ] | |
jobs: | |
tests: | |
name: Run tests for Java ${{ matrix.version }} | |
runs-on: [ self-hosted, small ] | |
strategy: | |
fail-fast: false | |
matrix: | |
version: | |
- 6 | |
- 7 | |
- 8 | |
- 9 | |
- 10 | |
- 11 | |
- 12 | |
- 13 | |
- 14 | |
- 15 | |
- 16 | |
- 17 | |
- 18 | |
- 19 | |
- 20 | |
- 21 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Java ${{ matrix.version }} | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'zulu' | |
java-version: '${{ matrix.version }}' | |
- name: Install Dependencies | |
run: gradle resolveDependencies | |
shell: bash | |
- name: test | |
run: gradle test -i |