-
Notifications
You must be signed in to change notification settings - Fork 925
40 lines (34 loc) · 1.01 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
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@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Free disk space
run: .github/scripts/gha-free-disk-space.sh
- name: Set up JDK for running Gradle
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
with:
distribution: temurin
java-version: 17.0.6
- name: Run muzzle
uses: gradle/actions/setup-gradle@e24011a3b5db78bd5ab798036042d9312002f252 # v3.2.0
with:
arguments: ${{ matrix.task }}
cache-read-only: ${{ inputs.cache-read-only }}