24 lines
518 B
YAML
24 lines
518 B
YAML
name: CI Workflow
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
jobs:
|
|
# Build the project
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: "Pull the project"
|
|
uses: actions/checkout@v4
|
|
|
|
- name: "Setup JDK + Gradle cache"
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: temurin
|
|
java-version: "21"
|
|
cache: "gradle"
|
|
|
|
- name: "Make gradlew executable"
|
|
run: chmod +x ./gradlew
|
|
|
|
- name: "Run test"
|
|
run: ./gradlew check build --continue |