Skip to content

Add generic contracts for object authenticity management #2

Add generic contracts for object authenticity management

Add generic contracts for object authenticity management #2

Workflow file for this run

name: CI
on:
push:
branches:
- master
- "[0-9]+"
- "[0-9]+.[0-9]+"
workflow_dispatch:
pull_request:
jobs:
check-generic-contracts-and-functions:
name: Gradle check for generic contracts and functions
runs-on: ubuntu-latest
defaults:
run:
working-directory: generic-contracts-and-functions
steps:
- uses: actions/checkout@v4
- name: Set up JDK 1.8
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
- name: Setup and execute Gradle 'check' task
uses: gradle/gradle-build-action@v3
with:
arguments: check
- name: Package artifacts
if: always()
run: |
rm -rf artifacts
mkdir -p artifacts
for x in ./*/build/reports/tests; do cp -a --parents $x ./artifacts/${x%%/*}; done
zip -r artifacts.zip artifacts
- uses: actions/upload-artifact@v4
if: always()
with:
name: artifacts
path: artifacts.zip