style: Rename actions to use dash (#2669)

This commit is contained in:
Ayaz Salikhov
2025-10-06 16:19:27 +01:00
committed by GitHub
parent d48fb168c6
commit 1da8464d75
19 changed files with 37 additions and 37 deletions

View File

@@ -6,7 +6,7 @@ inputs:
description: Space-separated build target names description: Space-separated build target names
default: all default: all
subtract_threads: subtract_threads:
description: An option for the action get_number_of_threads. See get_number_of_threads description: An option for the action get-threads-number.
required: true required: true
default: "0" default: "0"
@@ -14,7 +14,7 @@ runs:
using: composite using: composite
steps: steps:
- name: Get number of threads - name: Get number of threads
uses: ./.github/actions/get_number_of_threads uses: ./.github/actions/get-threads-number
id: number_of_threads id: number_of_threads
with: with:
subtract_threads: ${{ inputs.subtract_threads }} subtract_threads: ${{ inputs.subtract_threads }}

View File

@@ -27,7 +27,7 @@ runs:
steps: steps:
- name: Find common commit - name: Find common commit
id: git_common_ancestor id: git_common_ancestor
uses: ./.github/actions/git_common_ancestor uses: ./.github/actions/git-common-ancestor
- name: Restore ccache cache - name: Restore ccache cache
uses: actions/cache/restore@v4 uses: actions/cache/restore@v4

View File

@@ -28,7 +28,7 @@ runs:
steps: steps:
- name: Find common commit - name: Find common commit
id: git_common_ancestor id: git_common_ancestor
uses: ./.github/actions/git_common_ancestor uses: ./.github/actions/git-common-ancestor
- name: Save ccache cache - name: Save ccache cache
if: ${{ inputs.ccache_cache_hit != 'true' || inputs.ccache_cache_miss_rate == '100.0' }} if: ${{ inputs.ccache_cache_hit != 'true' || inputs.ccache_cache_miss_rate == '100.0' }}

View File

@@ -14,7 +14,7 @@ updates:
target-branch: develop target-branch: develop
- package-ecosystem: github-actions - package-ecosystem: github-actions
directory: .github/actions/build_clio/ directory: .github/actions/build-clio/
schedule: schedule:
interval: weekly interval: weekly
day: monday day: monday
@@ -27,7 +27,7 @@ updates:
target-branch: develop target-branch: develop
- package-ecosystem: github-actions - package-ecosystem: github-actions
directory: .github/actions/build_docker_image/ directory: .github/actions/build-docker-image/
schedule: schedule:
interval: weekly interval: weekly
day: monday day: monday
@@ -53,7 +53,7 @@ updates:
target-branch: develop target-branch: develop
- package-ecosystem: github-actions - package-ecosystem: github-actions
directory: .github/actions/code_coverage/ directory: .github/actions/code-coverage/
schedule: schedule:
interval: weekly interval: weekly
day: monday day: monday
@@ -79,7 +79,7 @@ updates:
target-branch: develop target-branch: develop
- package-ecosystem: github-actions - package-ecosystem: github-actions
directory: .github/actions/create_issue/ directory: .github/actions/create-issue/
schedule: schedule:
interval: weekly interval: weekly
day: monday day: monday
@@ -92,7 +92,7 @@ updates:
target-branch: develop target-branch: develop
- package-ecosystem: github-actions - package-ecosystem: github-actions
directory: .github/actions/get_number_of_threads/ directory: .github/actions/get-threads-number/
schedule: schedule:
interval: weekly interval: weekly
day: monday day: monday
@@ -105,7 +105,7 @@ updates:
target-branch: develop target-branch: develop
- package-ecosystem: github-actions - package-ecosystem: github-actions
directory: .github/actions/git_common_ancestor/ directory: .github/actions/git-common-ancestor/
schedule: schedule:
interval: weekly interval: weekly
day: monday day: monday
@@ -118,7 +118,7 @@ updates:
target-branch: develop target-branch: develop
- package-ecosystem: github-actions - package-ecosystem: github-actions
directory: .github/actions/restore_cache/ directory: .github/actions/restore-cache/
schedule: schedule:
interval: weekly interval: weekly
day: monday day: monday
@@ -131,7 +131,7 @@ updates:
target-branch: develop target-branch: develop
- package-ecosystem: github-actions - package-ecosystem: github-actions
directory: .github/actions/save_cache/ directory: .github/actions/save-cache/
schedule: schedule:
interval: weekly interval: weekly
day: monday day: monday

View File

@@ -89,7 +89,7 @@ jobs:
echo "GHCR_REPO=$(echo ghcr.io/${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" >> ${GITHUB_OUTPUT} echo "GHCR_REPO=$(echo ghcr.io/${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" >> ${GITHUB_OUTPUT}
- name: Build Docker image - name: Build Docker image
uses: ./.github/actions/build_docker_image uses: ./.github/actions/build-docker-image
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}

View File

@@ -14,8 +14,8 @@ on:
- .github/workflows/reusable-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/**"
- "!.github/actions/create_issue/**" - "!.github/actions/create-issue/**"
- CMakeLists.txt - CMakeLists.txt
- conanfile.py - conanfile.py

View File

@@ -51,7 +51,7 @@ jobs:
conan_profile: ${{ env.CONAN_PROFILE }} conan_profile: ${{ env.CONAN_PROFILE }}
- name: Build Clio - name: Build Clio
uses: ./.github/actions/build_clio uses: ./.github/actions/build-clio
- name: Strip tests - name: Strip tests
run: strip build/clio_tests run: strip build/clio_tests
@@ -93,7 +93,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Create an issue - name: Create an issue
uses: ./.github/actions/create_issue uses: ./.github/actions/create-issue
env: env:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}
with: with:

View File

@@ -45,7 +45,7 @@ jobs:
disable_ccache: true disable_ccache: true
- name: Restore cache - name: Restore cache
uses: ./.github/actions/restore_cache uses: ./.github/actions/restore-cache
id: restore_cache id: restore_cache
with: with:
conan_profile: ${{ env.CONAN_PROFILE }} conan_profile: ${{ env.CONAN_PROFILE }}
@@ -62,7 +62,7 @@ jobs:
conan_profile: ${{ env.CONAN_PROFILE }} conan_profile: ${{ env.CONAN_PROFILE }}
- name: Get number of threads - name: Get number of threads
uses: ./.github/actions/get_number_of_threads uses: ./.github/actions/get-threads-number
id: number_of_threads id: number_of_threads
- name: Run clang-tidy - name: Run clang-tidy
@@ -90,7 +90,7 @@ jobs:
- name: Create an issue - name: Create an issue
if: ${{ steps.run_clang_tidy.outcome != 'success' && github.event_name != 'pull_request' }} if: ${{ steps.run_clang_tidy.outcome != 'success' && github.event_name != 'pull_request' }}
id: create_issue id: create_issue
uses: ./.github/actions/create_issue uses: ./.github/actions/create-issue
env: env:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}
with: with:

View File

@@ -15,7 +15,7 @@ on:
- .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/**"
- .github/scripts/prepare-release-artifacts.sh - .github/scripts/prepare-release-artifacts.sh
concurrency: concurrency:
@@ -133,7 +133,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Create an issue - name: Create an issue
uses: ./.github/actions/create_issue uses: ./.github/actions/create-issue
env: env:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}
with: with:

View File

@@ -106,7 +106,7 @@ jobs:
- name: Restore cache - name: Restore cache
if: ${{ inputs.download_ccache }} if: ${{ inputs.download_ccache }}
uses: ./.github/actions/restore_cache uses: ./.github/actions/restore-cache
id: restore_cache id: restore_cache
with: with:
conan_profile: ${{ inputs.conan_profile }} conan_profile: ${{ inputs.conan_profile }}
@@ -131,7 +131,7 @@ jobs:
package: ${{ inputs.package }} package: ${{ inputs.package }}
- name: Build Clio - name: Build Clio
uses: ./.github/actions/build_clio uses: ./.github/actions/build-clio
with: with:
targets: ${{ inputs.targets }} targets: ${{ inputs.targets }}
@@ -198,7 +198,7 @@ jobs:
- name: Save cache - name: Save cache
if: ${{ inputs.upload_ccache && github.ref == 'refs/heads/develop' }} if: ${{ inputs.upload_ccache && github.ref == 'refs/heads/develop' }}
uses: ./.github/actions/save_cache uses: ./.github/actions/save-cache
with: with:
conan_profile: ${{ inputs.conan_profile }} conan_profile: ${{ inputs.conan_profile }}
ccache_dir: ${{ env.CCACHE_DIR }} ccache_dir: ${{ env.CCACHE_DIR }}
@@ -216,7 +216,7 @@ jobs:
# It's all available in the build job, but not in the test job # It's all available in the build job, but not in the test job
- name: Run code coverage - name: Run code coverage
if: ${{ inputs.code_coverage }} if: ${{ inputs.code_coverage }}
uses: ./.github/actions/code_coverage uses: ./.github/actions/code-coverage
- name: Verify expected version - name: Verify expected version
if: ${{ inputs.expected_version != '' }} if: ${{ inputs.expected_version != '' }}

View File

@@ -91,7 +91,7 @@ jobs:
- name: Create an issue - name: Create an issue
if: ${{ false && env.SANITIZER_IGNORE_ERRORS == 'true' && steps.check_report.outputs.found_report == 'true' }} if: ${{ false && env.SANITIZER_IGNORE_ERRORS == 'true' && steps.check_report.outputs.found_report == 'true' }}
uses: ./.github/actions/create_issue uses: ./.github/actions/create-issue
env: env:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}
with: with:

View File

@@ -13,8 +13,8 @@ on:
- .github/workflows/reusable-test.yml - .github/workflows/reusable-test.yml
- ".github/actions/**" - ".github/actions/**"
- "!.github/actions/build_docker_image/**" - "!.github/actions/build-docker-image/**"
- "!.github/actions/create_issue/**" - "!.github/actions/create-issue/**"
- .github/scripts/execute-tests-under-sanitizer - .github/scripts/execute-tests-under-sanitizer
- CMakeLists.txt - CMakeLists.txt

View File

@@ -5,7 +5,7 @@ on:
paths: paths:
- .github/workflows/update-docker-ci.yml - .github/workflows/update-docker-ci.yml
- ".github/actions/build_docker_image/**" - ".github/actions/build-docker-image/**"
- "docker/ci/**" - "docker/ci/**"
- "docker/compilers/**" - "docker/compilers/**"
@@ -15,7 +15,7 @@ on:
paths: paths:
- .github/workflows/update-docker-ci.yml - .github/workflows/update-docker-ci.yml
- ".github/actions/build_docker_image/**" - ".github/actions/build-docker-image/**"
- "docker/ci/**" - "docker/ci/**"
- "docker/compilers/**" - "docker/compilers/**"
@@ -60,7 +60,7 @@ jobs:
with: with:
files: "docker/compilers/gcc/**" files: "docker/compilers/gcc/**"
- uses: ./.github/actions/build_docker_image - uses: ./.github/actions/build-docker-image
if: ${{ steps.changed-files.outputs.any_changed == 'true' }} if: ${{ steps.changed-files.outputs.any_changed == 'true' }}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -98,7 +98,7 @@ jobs:
with: with:
files: "docker/compilers/gcc/**" files: "docker/compilers/gcc/**"
- uses: ./.github/actions/build_docker_image - uses: ./.github/actions/build-docker-image
if: ${{ steps.changed-files.outputs.any_changed == 'true' }} if: ${{ steps.changed-files.outputs.any_changed == 'true' }}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -187,7 +187,7 @@ jobs:
with: with:
files: "docker/compilers/clang/**" files: "docker/compilers/clang/**"
- uses: ./.github/actions/build_docker_image - uses: ./.github/actions/build-docker-image
if: ${{ steps.changed-files.outputs.any_changed == 'true' }} if: ${{ steps.changed-files.outputs.any_changed == 'true' }}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -223,7 +223,7 @@ jobs:
with: with:
files: "docker/tools/**" files: "docker/tools/**"
- uses: ./.github/actions/build_docker_image - uses: ./.github/actions/build-docker-image
if: ${{ steps.changed-files.outputs.any_changed == 'true' }} if: ${{ steps.changed-files.outputs.any_changed == 'true' }}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -254,7 +254,7 @@ jobs:
with: with:
files: "docker/tools/**" files: "docker/tools/**"
- uses: ./.github/actions/build_docker_image - uses: ./.github/actions/build-docker-image
if: ${{ steps.changed-files.outputs.any_changed == 'true' }} if: ${{ steps.changed-files.outputs.any_changed == 'true' }}
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -313,7 +313,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: ./.github/actions/build_docker_image - uses: ./.github/actions/build-docker-image
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }}