mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-24 21:55:56 +00:00
style: Rename workflows to use dash and show reusable (#2667)
This commit is contained in:
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@@ -8,10 +8,10 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- .github/workflows/build.yml
|
- .github/workflows/build.yml
|
||||||
|
|
||||||
- .github/workflows/build_and_test.yml
|
- .github/workflows/reusable-build-test.yml
|
||||||
- .github/workflows/build_impl.yml
|
- .github/workflows/reusable-build.yml
|
||||||
- .github/workflows/test_impl.yml
|
- .github/workflows/reusable-test.yml
|
||||||
- .github/workflows/upload_coverage_report.yml
|
- .github/workflows/reusable-upload-coverage-report.yml
|
||||||
|
|
||||||
- ".github/actions/**"
|
- ".github/actions/**"
|
||||||
- "!.github/actions/build_docker_image/**"
|
- "!.github/actions/build_docker_image/**"
|
||||||
@@ -56,7 +56,7 @@ jobs:
|
|||||||
container: ""
|
container: ""
|
||||||
static: false
|
static: false
|
||||||
|
|
||||||
uses: ./.github/workflows/build_and_test.yml
|
uses: ./.github/workflows/reusable-build-test.yml
|
||||||
with:
|
with:
|
||||||
runs_on: ${{ matrix.os }}
|
runs_on: ${{ matrix.os }}
|
||||||
container: ${{ matrix.container }}
|
container: ${{ matrix.container }}
|
||||||
@@ -72,7 +72,7 @@ jobs:
|
|||||||
code_coverage:
|
code_coverage:
|
||||||
name: Run Code Coverage
|
name: Run Code Coverage
|
||||||
|
|
||||||
uses: ./.github/workflows/build_impl.yml
|
uses: ./.github/workflows/reusable-build.yml
|
||||||
with:
|
with:
|
||||||
runs_on: heavy
|
runs_on: heavy
|
||||||
container: '{ "image": "ghcr.io/xrplf/clio-ci:384e79cd32f5f6c0ab9be3a1122ead41c5a7e67d" }'
|
container: '{ "image": "ghcr.io/xrplf/clio-ci:384e79cd32f5f6c0ab9be3a1122ead41c5a7e67d" }'
|
||||||
@@ -91,7 +91,7 @@ jobs:
|
|||||||
package:
|
package:
|
||||||
name: Build packages
|
name: Build packages
|
||||||
|
|
||||||
uses: ./.github/workflows/build_impl.yml
|
uses: ./.github/workflows/reusable-build.yml
|
||||||
with:
|
with:
|
||||||
runs_on: heavy
|
runs_on: heavy
|
||||||
container: '{ "image": "ghcr.io/xrplf/clio-ci:384e79cd32f5f6c0ab9be3a1122ead41c5a7e67d" }'
|
container: '{ "image": "ghcr.io/xrplf/clio-ci:384e79cd32f5f6c0ab9be3a1122ead41c5a7e67d" }'
|
||||||
|
|||||||
18
.github/workflows/nightly.yml
vendored
18
.github/workflows/nightly.yml
vendored
@@ -8,11 +8,11 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- .github/workflows/nightly.yml
|
- .github/workflows/nightly.yml
|
||||||
|
|
||||||
- .github/workflows/release_impl.yml
|
- .github/workflows/reusable-release.yml
|
||||||
- .github/workflows/build_and_test.yml
|
- .github/workflows/reusable-build-test.yml
|
||||||
- .github/workflows/build_impl.yml
|
- .github/workflows/reusable-build.yml
|
||||||
- .github/workflows/test_impl.yml
|
- .github/workflows/reusable-test.yml
|
||||||
- .github/workflows/build_clio_docker_image.yml
|
- .github/workflows/build-clio-docker-image.yml
|
||||||
|
|
||||||
- ".github/actions/**"
|
- ".github/actions/**"
|
||||||
- "!.github/actions/code_coverage/**"
|
- "!.github/actions/code_coverage/**"
|
||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
static: false
|
static: false
|
||||||
container: '{ "image": "ghcr.io/xrplf/clio-ci:384e79cd32f5f6c0ab9be3a1122ead41c5a7e67d" }'
|
container: '{ "image": "ghcr.io/xrplf/clio-ci:384e79cd32f5f6c0ab9be3a1122ead41c5a7e67d" }'
|
||||||
|
|
||||||
uses: ./.github/workflows/build_and_test.yml
|
uses: ./.github/workflows/reusable-build-test.yml
|
||||||
with:
|
with:
|
||||||
runs_on: ${{ matrix.os }}
|
runs_on: ${{ matrix.os }}
|
||||||
container: ${{ matrix.container }}
|
container: ${{ matrix.container }}
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
conan_profile: apple-clang
|
conan_profile: apple-clang
|
||||||
container: ""
|
container: ""
|
||||||
static: false
|
static: false
|
||||||
uses: ./.github/workflows/build_impl.yml
|
uses: ./.github/workflows/reusable-build.yml
|
||||||
with:
|
with:
|
||||||
runs_on: ${{ matrix.os }}
|
runs_on: ${{ matrix.os }}
|
||||||
container: ${{ matrix.container }}
|
container: ${{ matrix.container }}
|
||||||
@@ -95,7 +95,7 @@ jobs:
|
|||||||
|
|
||||||
nightly_release:
|
nightly_release:
|
||||||
needs: build-and-test
|
needs: build-and-test
|
||||||
uses: ./.github/workflows/release_impl.yml
|
uses: ./.github/workflows/reusable-release.yml
|
||||||
with:
|
with:
|
||||||
overwrite_release: true
|
overwrite_release: true
|
||||||
prerelease: true
|
prerelease: true
|
||||||
@@ -109,7 +109,7 @@ jobs:
|
|||||||
draft: false
|
draft: false
|
||||||
|
|
||||||
build_and_publish_docker_image:
|
build_and_publish_docker_image:
|
||||||
uses: ./.github/workflows/build_clio_docker_image.yml
|
uses: ./.github/workflows/build-clio-docker-image.yml
|
||||||
needs: build-and-test
|
needs: build-and-test
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
with:
|
with:
|
||||||
|
|||||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
|||||||
static: true
|
static: true
|
||||||
container: '{ "image": "ghcr.io/xrplf/clio-ci:384e79cd32f5f6c0ab9be3a1122ead41c5a7e67d" }'
|
container: '{ "image": "ghcr.io/xrplf/clio-ci:384e79cd32f5f6c0ab9be3a1122ead41c5a7e67d" }'
|
||||||
|
|
||||||
uses: ./.github/workflows/build_and_test.yml
|
uses: ./.github/workflows/reusable-build-test.yml
|
||||||
with:
|
with:
|
||||||
runs_on: ${{ matrix.os }}
|
runs_on: ${{ matrix.os }}
|
||||||
container: ${{ matrix.container }}
|
container: ${{ matrix.container }}
|
||||||
@@ -47,7 +47,7 @@ jobs:
|
|||||||
|
|
||||||
release:
|
release:
|
||||||
needs: build-and-test
|
needs: build-and-test
|
||||||
uses: ./.github/workflows/release_impl.yml
|
uses: ./.github/workflows/reusable-release.yml
|
||||||
with:
|
with:
|
||||||
overwrite_release: false
|
overwrite_release: false
|
||||||
prerelease: ${{ contains(github.ref_name, '-') }}
|
prerelease: ${{ contains(github.ref_name, '-') }}
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
uses: ./.github/workflows/build_impl.yml
|
uses: ./.github/workflows/reusable-build.yml
|
||||||
with:
|
with:
|
||||||
runs_on: ${{ inputs.runs_on }}
|
runs_on: ${{ inputs.runs_on }}
|
||||||
container: ${{ inputs.container }}
|
container: ${{ inputs.container }}
|
||||||
@@ -95,7 +95,7 @@ jobs:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
needs: build
|
needs: build
|
||||||
uses: ./.github/workflows/test_impl.yml
|
uses: ./.github/workflows/reusable-test.yml
|
||||||
with:
|
with:
|
||||||
runs_on: ${{ inputs.runs_on }}
|
runs_on: ${{ inputs.runs_on }}
|
||||||
container: ${{ inputs.container }}
|
container: ${{ inputs.container }}
|
||||||
@@ -238,6 +238,6 @@ jobs:
|
|||||||
if: ${{ inputs.code_coverage }}
|
if: ${{ inputs.code_coverage }}
|
||||||
name: Codecov
|
name: Codecov
|
||||||
needs: build
|
needs: build
|
||||||
uses: ./.github/workflows/upload_coverage_report.yml
|
uses: ./.github/workflows/reusable-upload-coverage-report.yml
|
||||||
secrets:
|
secrets:
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
name: Upload report
|
name: Upload report
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
|
||||||
workflow_call:
|
workflow_call:
|
||||||
secrets:
|
secrets:
|
||||||
CODECOV_TOKEN:
|
CODECOV_TOKEN:
|
||||||
8
.github/workflows/sanitizers.yml
vendored
8
.github/workflows/sanitizers.yml
vendored
@@ -8,9 +8,9 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- .github/workflows/sanitizers.yml
|
- .github/workflows/sanitizers.yml
|
||||||
|
|
||||||
- .github/workflows/build_and_test.yml
|
- .github/workflows/reusable-build-test.yml
|
||||||
- .github/workflows/build_impl.yml
|
- .github/workflows/reusable-build.yml
|
||||||
- .github/workflows/test_impl.yml
|
- .github/workflows/reusable-test.yml
|
||||||
|
|
||||||
- ".github/actions/**"
|
- ".github/actions/**"
|
||||||
- "!.github/actions/build_docker_image/**"
|
- "!.github/actions/build_docker_image/**"
|
||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
sanitizer_ext: [.asan, .tsan, .ubsan]
|
sanitizer_ext: [.asan, .tsan, .ubsan]
|
||||||
build_type: [Release, Debug]
|
build_type: [Release, Debug]
|
||||||
|
|
||||||
uses: ./.github/workflows/build_and_test.yml
|
uses: ./.github/workflows/reusable-build-test.yml
|
||||||
with:
|
with:
|
||||||
runs_on: heavy
|
runs_on: heavy
|
||||||
container: '{ "image": "ghcr.io/xrplf/clio-ci:384e79cd32f5f6c0ab9be3a1122ead41c5a7e67d" }'
|
container: '{ "image": "ghcr.io/xrplf/clio-ci:384e79cd32f5f6c0ab9be3a1122ead41c5a7e67d" }'
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ name: Update CI docker image
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- .github/workflows/update_docker_ci.yml
|
- .github/workflows/update-docker-ci.yml
|
||||||
|
|
||||||
- ".github/actions/build_docker_image/**"
|
- ".github/actions/build_docker_image/**"
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: [develop]
|
branches: [develop]
|
||||||
paths:
|
paths:
|
||||||
- .github/workflows/update_docker_ci.yml
|
- .github/workflows/update-docker-ci.yml
|
||||||
|
|
||||||
- ".github/actions/build_docker_image/**"
|
- ".github/actions/build_docker_image/**"
|
||||||
|
|
||||||
@@ -94,7 +94,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
id: changed-files
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
|
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
|
||||||
with:
|
with:
|
||||||
files: "docker/compilers/gcc/**"
|
files: "docker/compilers/gcc/**"
|
||||||
|
|
||||||
@@ -250,7 +250,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
id: changed-files
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
|
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
|
||||||
with:
|
with:
|
||||||
files: "docker/tools/**"
|
files: "docker/tools/**"
|
||||||
|
|
||||||
@@ -18,7 +18,7 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches: [develop]
|
branches: [develop]
|
||||||
paths:
|
paths:
|
||||||
- .github/workflows/upload_conan_deps.yml
|
- .github/workflows/upload-conan-deps.yml
|
||||||
|
|
||||||
- .github/actions/conan/action.yml
|
- .github/actions/conan/action.yml
|
||||||
- ".github/scripts/conan/**"
|
- ".github/scripts/conan/**"
|
||||||
@@ -28,7 +28,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: [develop]
|
branches: [develop]
|
||||||
paths:
|
paths:
|
||||||
- .github/workflows/upload_conan_deps.yml
|
- .github/workflows/upload-conan-deps.yml
|
||||||
|
|
||||||
- .github/actions/conan/action.yml
|
- .github/actions/conan/action.yml
|
||||||
- ".github/scripts/conan/**"
|
- ".github/scripts/conan/**"
|
||||||
Reference in New Issue
Block a user