Skip to content

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #75

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #75

Workflow file for this run

name: Test branches
on:
pull_request:
branches:
- master
jobs:
run-unit-tests:
runs-on: ${{ matrix.platform }}
timeout-minutes: 15
env:
JAVA_OPTS: -Xmx3200m
TERM: dumb
strategy:
fail-fast: false
matrix:
java: ['11', '17']
platform: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Cache dependencies
id: cache-dependencies
uses: actions/cache@v2
env:
cache-name: cache-dependencies
with:
path: ~/.gradle/caches
key: build-cache-${{ hashFiles('build.gradle') }}
restore-keys: |
build-cache-
build-
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Resolve dependencies
if: steps.cache-dependencies.outputs.cache-hit != 'true'
run: ./gradlew dependencies
- name: Execute tests
run: ./gradlew test