From 1a15d840f14186e69ca3cb2b4f90eba678332e2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Haitz=20Legarreta=20Gorro=C3=B1o?= Date: Sun, 8 Sep 2024 16:20:37 +0200 Subject: [PATCH] ENH: Bump ITK remote build GHA version (#8) * ENH: Bump checkout action in clang format linter GHA worfklow Bump checkout action in clang format linter GHA worfklow to v4. * ENH: Bump ITK remote build GHA version Bump ITK remote build GHA version. Take advantage of the commit to prevent duplicate CI builds. --- .github/workflows/build-test-package.yml | 18 +++++++++++------- .github/workflows/clang-format-linter.yml | 2 +- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-test-package.yml b/.github/workflows/build-test-package.yml index 48bc584..ef2280e 100644 --- a/.github/workflows/build-test-package.yml +++ b/.github/workflows/build-test-package.yml @@ -1,16 +1,20 @@ name: Build, test, package -on: [push,pull_request] +on: + push: + branches: + - main + tags: + - 'v*' + pull_request: + branches: + - main jobs: cxx-build-workflow: - uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@d4a5ce4f219b66b78269a15392e15c95f90e7e00 - with: - itk-git-tag: 'v5.3.0' + uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-cxx.yml@v5.4.0 python-build-workflow: - uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@d4a5ce4f219b66b78269a15392e15c95f90e7e00 - with: - itk-wheel-tag: 'v5.3.0' + uses: InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/.github/workflows/build-test-package-python.yml@v5.4.0 secrets: pypi_password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/.github/workflows/clang-format-linter.yml b/.github/workflows/clang-format-linter.yml index 59c661d..aff4508 100644 --- a/.github/workflows/clang-format-linter.yml +++ b/.github/workflows/clang-format-linter.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master \ No newline at end of file