-
Notifications
You must be signed in to change notification settings - Fork 919
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Free disk space
run: .github/scripts/gha-free-disk-space.sh
- name: Set up JDK for running Gradle
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
with:
distribution: temurin
java-version: 17.0.6
- name: Run muzzle
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0
with:
arguments: ${{ matrix.task }}
cache-read-only: ${{ inputs.cache-read-only }}