Skip to content

build(deps): bump the github-actions group across 1 directory with 4 … #118

build(deps): bump the github-actions group across 1 directory with 4 …

build(deps): bump the github-actions group across 1 directory with 4 … #118

Workflow file for this run

name: Build
on:
push:
branches: [main]
pull_request:
jobs:
build:
name: "Build"
runs-on: ubuntu-latest
steps:
- name: "Fetch Sources"
uses: actions/[email protected]
- name: "Validate Gradle Wrapper"
uses: gradle/actions/[email protected]
- name: "Setup Java 17"
uses: actions/[email protected]
with:
distribution: temurin
java-version: 17
- name: "Setup gradle"
uses: gradle/actions/[email protected]
with:
gradle-home-cache-cleanup: true
- name: "Run Tests"
run: ./gradlew check
- name: "Collect Tests Result of failed tests"
if: ${{ failure() }}
uses: actions/[email protected]
with:
name: tests-result
path: ${{ github.workspace }}/build/reports/tests
test-os-matrix:
name: "Test with OS matrix"
if: github.ref == 'refs/heads/main'
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: windows-latest
- os: macos-latest
steps:
- name: "Fetch Sources"
uses: actions/[email protected]
- name: "Validate Gradle Wrapper"
uses: gradle/actions/[email protected]
- name: "Setup Java 17"
uses: actions/[email protected]
with:
distribution: temurin
java-version: 17
- name: "Setup gradle"
uses: gradle/actions/[email protected]
with:
gradle-home-cache-cleanup: true
- name: "Run Tests"
run: ./gradlew check
- name: "Collect Tests Result of failed tests"
if: ${{ failure() }}
uses: actions/[email protected]
with:
name: tests-result
path: ${{ github.workspace }}/build/reports/tests