Skip to content

Filesystem locking for safer concurrent usage and full configuration cache support #141

Filesystem locking for safer concurrent usage and full configuration cache support

Filesystem locking for safer concurrent usage and full configuration cache support #141

Workflow file for this run

name: Build and test
on:
pull_request:
branches: [ master, main ]
push:
branches: [ master, main ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 8 and 17
uses: actions/setup-java@v3
with:
java-version: |
8
17
distribution: 'zulu'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build the Gradle plugin
run: ./gradlew --info --stacktrace retrofuturagradle:jar
- name: Build and locally install the javac plugin
run: ./gradlew --info --stacktrace retrofuturagradle:rfgJavacPlugin:publishToMavenLocal
- name: Test the plugin
run: ./gradlew --info --stacktrace retrofuturagradle:check
- name: Build the test mods
run: ./gradlew --info --stacktrace testmod:build testdepmod:build