Skip to content

M8l2 state machine

M8l2 state machine #34

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: 'CI-test'
# Controls when the workflow will run
on:
push:
branches-ignore:
- 'main'
- 'master'
- 'v-*'
- 'release/*'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# runs-on: macos-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.PAT_TOKEN }}
- name: Restore cached Primes
id: cache-primes-restore
uses: actions/cache/restore@v4
with:
path: |
.gradle
.kotlin
key: ${{ runner.os }}-primes
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: Run Tests
uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.6
arguments: check -i
- name: Save Primes
id: cache-primes-save
uses: actions/cache/save@v4
with:
path: |
.gradle
.kotlin
key: ${{ steps.cache-primes-restore.outputs.cache-primary-key }}