Skip to content

Commit 67f5ca4

Browse files
authored
style: Rename workflows to use dash and show reusable (#2667)
1 parent 897c255 commit 67f5ca4

14 files changed

+31
-32
lines changed
File renamed without changes.

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ on:
88
paths:
99
- .github/workflows/build.yml
1010

11-
- .github/workflows/build_and_test.yml
12-
- .github/workflows/build_impl.yml
13-
- .github/workflows/test_impl.yml
14-
- .github/workflows/upload_coverage_report.yml
11+
- .github/workflows/reusable-build-test.yml
12+
- .github/workflows/reusable-build.yml
13+
- .github/workflows/reusable-test.yml
14+
- .github/workflows/reusable-upload-coverage-report.yml
1515

1616
- ".github/actions/**"
1717
- "!.github/actions/build_docker_image/**"
@@ -56,7 +56,7 @@ jobs:
5656
container: ""
5757
static: false
5858

59-
uses: ./.github/workflows/build_and_test.yml
59+
uses: ./.github/workflows/reusable-build-test.yml
6060
with:
6161
runs_on: ${{ matrix.os }}
6262
container: ${{ matrix.container }}
@@ -72,7 +72,7 @@ jobs:
7272
code_coverage:
7373
name: Run Code Coverage
7474

75-
uses: ./.github/workflows/build_impl.yml
75+
uses: ./.github/workflows/reusable-build.yml
7676
with:
7777
runs_on: heavy
7878
container: '{ "image": "ghcr.io/xrplf/clio-ci:384e79cd32f5f6c0ab9be3a1122ead41c5a7e67d" }'
@@ -91,7 +91,7 @@ jobs:
9191
package:
9292
name: Build packages
9393

94-
uses: ./.github/workflows/build_impl.yml
94+
uses: ./.github/workflows/reusable-build.yml
9595
with:
9696
runs_on: heavy
9797
container: '{ "image": "ghcr.io/xrplf/clio-ci:384e79cd32f5f6c0ab9be3a1122ead41c5a7e67d" }'

.github/workflows/nightly.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ on:
88
paths:
99
- .github/workflows/nightly.yml
1010

11-
- .github/workflows/release_impl.yml
12-
- .github/workflows/build_and_test.yml
13-
- .github/workflows/build_impl.yml
14-
- .github/workflows/test_impl.yml
15-
- .github/workflows/build_clio_docker_image.yml
11+
- .github/workflows/reusable-release.yml
12+
- .github/workflows/reusable-build-test.yml
13+
- .github/workflows/reusable-build.yml
14+
- .github/workflows/reusable-test.yml
15+
- .github/workflows/build-clio-docker-image.yml
1616

1717
- ".github/actions/**"
1818
- "!.github/actions/code_coverage/**"
@@ -51,7 +51,7 @@ jobs:
5151
static: false
5252
container: '{ "image": "ghcr.io/xrplf/clio-ci:384e79cd32f5f6c0ab9be3a1122ead41c5a7e67d" }'
5353

54-
uses: ./.github/workflows/build_and_test.yml
54+
uses: ./.github/workflows/reusable-build-test.yml
5555
with:
5656
runs_on: ${{ matrix.os }}
5757
container: ${{ matrix.container }}
@@ -79,7 +79,7 @@ jobs:
7979
conan_profile: apple-clang
8080
container: ""
8181
static: false
82-
uses: ./.github/workflows/build_impl.yml
82+
uses: ./.github/workflows/reusable-build.yml
8383
with:
8484
runs_on: ${{ matrix.os }}
8585
container: ${{ matrix.container }}
@@ -95,7 +95,7 @@ jobs:
9595

9696
nightly_release:
9797
needs: build-and-test
98-
uses: ./.github/workflows/release_impl.yml
98+
uses: ./.github/workflows/reusable-release.yml
9999
with:
100100
overwrite_release: true
101101
prerelease: true
@@ -109,7 +109,7 @@ jobs:
109109
draft: false
110110

111111
build_and_publish_docker_image:
112-
uses: ./.github/workflows/build_clio_docker_image.yml
112+
uses: ./.github/workflows/build-clio-docker-image.yml
113113
needs: build-and-test
114114
secrets: inherit
115115
with:

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
static: true
3232
container: '{ "image": "ghcr.io/xrplf/clio-ci:384e79cd32f5f6c0ab9be3a1122ead41c5a7e67d" }'
3333

34-
uses: ./.github/workflows/build_and_test.yml
34+
uses: ./.github/workflows/reusable-build-test.yml
3535
with:
3636
runs_on: ${{ matrix.os }}
3737
container: ${{ matrix.container }}
@@ -47,7 +47,7 @@ jobs:
4747

4848
release:
4949
needs: build-and-test
50-
uses: ./.github/workflows/release_impl.yml
50+
uses: ./.github/workflows/reusable-release.yml
5151
with:
5252
overwrite_release: false
5353
prerelease: ${{ contains(github.ref_name, '-') }}

.github/workflows/build_and_test.yml renamed to .github/workflows/reusable-build-test.yml.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ on:
7777

7878
jobs:
7979
build:
80-
uses: ./.github/workflows/build_impl.yml
80+
uses: ./.github/workflows/reusable-build.yml
8181
with:
8282
runs_on: ${{ inputs.runs_on }}
8383
container: ${{ inputs.container }}
@@ -95,7 +95,7 @@ jobs:
9595

9696
test:
9797
needs: build
98-
uses: ./.github/workflows/test_impl.yml
98+
uses: ./.github/workflows/reusable-test.yml
9999
with:
100100
runs_on: ${{ inputs.runs_on }}
101101
container: ${{ inputs.container }}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,6 @@ jobs:
238238
if: ${{ inputs.code_coverage }}
239239
name: Codecov
240240
needs: build
241-
uses: ./.github/workflows/upload_coverage_report.yml
241+
uses: ./.github/workflows/reusable-upload-coverage-report.yml
242242
secrets:
243243
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)