Skip to content

chore: update github actions #111

chore: update github actions

chore: update github actions #111

Workflow file for this run

name: MVN Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Install socat tool
run: |
sudo apt-get update
sudo apt-get install socat
- name: Cache Docker layers
uses: actions/cache@v4
with:
path: ./parsec-docker-test-image/parsec_docker_cache
key: ${{ runner.os }}-parsec_docker_cache-${{ github.sha }}
restore-keys: |
${{ runner.os }}-parsec_docker_cache-
- name: Set up JDK 16
uses: actions/setup-java@v4
with:
java-version: "16"
distribution: "zulu"
architecture: x64
cache: maven
- name: Build with Maven
# still needs work to get tests running on java 16
run: ./mvnw --batch-mode clean verify -DskipTests=true
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: "8"
distribution: "zulu"
architecture: x64
cache: maven
- name: Build with Maven
run: ./mvnw --batch-mode clean verify