You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/common.yml
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
1
name: container project - common jobs
2
2
3
-
on:
3
+
on:
4
4
workflow_call:
5
5
inputs:
6
6
release:
7
-
type: boolean
7
+
type: boolean
8
8
description: "Publish this build for release"
9
9
default: false
10
10
11
11
jobs:
12
-
buildAndTest:
12
+
buildAndTest:
13
13
name: Build and test the project
14
14
timeout-minutes: 30
15
15
runs-on: [self-hosted, macos, sequoia, ARM64]
@@ -18,40 +18,40 @@ jobs:
18
18
packages: read
19
19
steps:
20
20
- name: Checkout repository
21
-
uses: actions/checkout@v4
21
+
uses: actions/checkout@v4
22
22
with:
23
23
fetch-depth: 0
24
24
- name: Update containerization
25
-
run: |
25
+
run: |
26
26
/usr/bin/swift package update containerization
27
27
- name: Check formatting
28
-
run: |
28
+
run: |
29
29
./scripts/install-hawkeye.sh
30
30
make fmt
31
-
if ! git diff --quiet -- . ':(exclude)Package.swift' ':(exclude)Package.resolved'; then echo "The following files require formatting or license header updates:\n$(git diff --name-only)" ; false ; fi
32
-
- name: Check protobuf
33
-
run: |
34
-
make protos
31
+
if ! git diff --quiet -- . ':(exclude)Package.swift' ':(exclude)Package.resolved'; then echo "The following files require formatting or license header updates:\n$(git diff --name-only)" ; false ; fi
32
+
- name: Check protobuf
33
+
run: |
34
+
make protos
35
35
36
36
# TODO [launch]: TEMPORARILY we need to exclude these files since we had to modify them to add
37
-
# the github token for pulling the private repos.
38
-
if ! git diff --quiet -- . ':(exclude)Package.swift' ':(exclude)Package.resolved' ':(exclude)Protobuf.Makefile'; then echo "The following files require formatting or license header updates:\n$(git diff --name-only)" ; false ; fi
37
+
# the github token for pulling the private repos.
38
+
if ! git diff --quiet -- . ':(exclude)Package.swift' ':(exclude)Package.resolved' ':(exclude)Protobuf.Makefile'; then echo "The following files require formatting or license header updates:\n$(git diff --name-only)" ; false ; fi
0 commit comments