Skip to content

Commit 0f4c459

Browse files
committed
cicd: use reusable format check
1 parent d64c79d commit 0f4c459

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

.github/workflows/format.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,4 @@ on:
1919
jobs:
2020
formatting-check:
2121
runs-on: ubuntu-latest
22-
steps:
23-
- name: Checkout repository
24-
uses: actions/checkout@v4.2.2
25-
- name: Cache Bazel
26-
uses: actions/cache@v4
27-
with:
28-
path: ~/.cache/bazel
29-
key: ${{ runner.os }}-format-${{ hashFiles('**/*.bazel', '**/BUILD', '**/*.bzl') }}
30-
- name: Setup Bazel with cache
31-
uses: bazel-contrib/setup-bazel@0.15.0
32-
with:
33-
disk-cache: true
34-
repository-cache: true
35-
bazelisk-cache: true
36-
- name: Run formatting checks
37-
run: |
38-
bazel test //:format.check
22+
uses: eclipse-score/cicd-workflows/.github/workflows/format.yml@main

0 commit comments

Comments
 (0)