-
Notifications
You must be signed in to change notification settings - Fork 919
42 lines (35 loc) · 1.05 KB
/
reusable-muzzle.yml
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
36
37
38
39
40
41
42
name: Reusable - Muzzle
on:
workflow_call:
inputs:
cache-read-only:
type: boolean
required: false
permissions:
contents: read
jobs:
muzzle:
runs-on: ubuntu-latest
strategy:
matrix:
task:
- ":instrumentation:muzzle1"
- ":instrumentation:muzzle2"
- ":instrumentation:muzzle3"
- ":instrumentation:muzzle4"
fail-fast: false
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Free disk space
run: .github/scripts/gha-free-disk-space.sh
- name: Set up JDK for running Gradle
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
with:
distribution: temurin
java-version-file: .java-version
- name: Setup Gradle
uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0
with:
cache-read-only: ${{ inputs.cache-read-only }}
- name: Run muzzle
run: ./gradlew ${{ matrix.task }}