Add name to ci steps #562
Workflow file for this run
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: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ '8', '11', '17' ] | |
defaults: | |
run: | |
working-directory: compiler | |
steps: | |
- name: Checkout - compiler | |
uses: actions/checkout@v4 | |
with: | |
path: compiler | |
- name: Checkout - spec and tests | |
uses: actions/checkout@v4 | |
with: | |
repository: kaitai-io/kaitai_struct_tests | |
path: tests | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: ${{ matrix.java }} | |
- name: Run tests | |
run: sbt test |