-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (32 loc) · 857 Bytes
/
ci.yml
File metadata and controls
35 lines (32 loc) · 857 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
33
34
35
name: CI
permissions: {}
on:
pull_request:
push:
branches:
- alpha
- beta
- main
- renovate/**
jobs:
ci-optimization:
name: CI optimization
uses: dargmuesli/github-actions/.github/workflows/ci-optimization.yml@1fc4c936d18dfa98bca895c19dd429ee108e07ea # 5.1.2
permissions:
pull-requests: read
build:
needs: ci-optimization
if: needs.ci-optimization.outputs.continue == 'true'
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up JDK
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
cache: gradle
distribution: temurin
java-version: 21
- name: Build with Gradle
run: ./gradlew testDebugUnitTest