-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (26 loc) · 759 Bytes
/
Copy pathbuild.yml
File metadata and controls
32 lines (26 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: "Build"
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: "Gradle"
runs-on: ${{ matrix.os }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
with:
java-version: "25"
distribution: temurin
- uses: gradle/actions/setup-gradle@9c971963bec38e04b3d30dcc455b5382be2fdbfb # v6.3.0
- name: "Check formatting"
run: ./gradlew spotlessCheck
- name: "Build and test"
run: ./gradlew build