From d355a1585a84dd0151df4fec1bd3bb09e3791584 Mon Sep 17 00:00:00 2001 From: William Kearney Date: Thu, 2 Jul 2026 10:56:51 +0200 Subject: [PATCH] Use the TopoToolbox/actions repository for vendored workflows Signed-off-by: William Kearney --- .github/workflows/ci.yaml | 10 +++++----- .github/workflows/docs.yaml | 6 +++--- .github/workflows/metrics.yaml | 4 ++-- .github/workflows/release.yaml | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6d56b6c..c82ffa5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,7 +13,7 @@ jobs: debug-build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd + - uses: TopoToolbox/actions/checkout@main with: submodules: true - name: Install OpenMP @@ -50,7 +50,7 @@ jobs: run: ctest --test-dir ${{github.workspace}}/build/debug -C Debug --output-on-failure - name: Upload test snapshot artifacts if: ${{ !cancelled() }} - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f + uses: TopoToolbox/actions/upload-artifact@main with: name: snapshot_test_output path: ${{github.workspace}}/build/debug/test/snapshots/ @@ -83,7 +83,7 @@ jobs: - os: ubuntu-latest c_compiler: cl steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd + - uses: TopoToolbox/actions/checkout@main with: submodules: true - name: Install OpenMP on Ubuntu @@ -101,7 +101,7 @@ jobs: ## TODO: Install GDAL on Windows and macos - name: Restore snapshot data cache id: restore-cache-snapshots-release - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 + uses: TopoToolbox/actions/cache@main with: path: ${{github.workspace}}/test/snapshots key: snapshots-${{ env.snapshot_version }} @@ -135,7 +135,7 @@ jobs: - name: Build shared library run: cmake --build ${{github.workspace}}/build/shared --config Release - name: Upload build artifacts - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f + uses: TopoToolbox/actions/upload-artifact@main with: name: ${{matrix.os}}_${{matrix.c_compiler}}_cmake_profiles path: ${{matrix.os}}_${{matrix.c_compiler}}_config_profile.json diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index c767945..454e7ae 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd + uses: TopoToolbox/actions/checkout@main - name: Install doxygen run: | sudo apt update @@ -23,7 +23,7 @@ jobs: - name: Build run: cmake --build ${{github.workspace}}/build --target docs - name: Package artifact - uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 + uses: TopoToolbox/actions/upload-pages-artifact@main with: path: ${{github.workspace}}/build/docs/docs/sphinx deploy: @@ -39,4 +39,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0 + uses: TopoToolbox/actions/deploy-pages@main diff --git a/.github/workflows/metrics.yaml b/.github/workflows/metrics.yaml index bde5e07..a8cf055 100644 --- a/.github/workflows/metrics.yaml +++ b/.github/workflows/metrics.yaml @@ -21,10 +21,10 @@ jobs: chmod 600 ~/.ssh/id_metrics chmod 700 ~/.ssh - name: Checkout repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd + uses: TopoToolbox/actions/checkout@main - name: Cache snapshot data snapshot data cache id: cache-snapshots - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 + uses: TopoToolbox/actions/cache@main with: path: test/snapshots key: snapshots-${{ env.snapshot_version }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 026e2c3..25dd918 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,7 +12,7 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd + - uses: TopoToolbox/actions/checkout@main - name: Generate tag run: echo "TAG=$(date -u +%Y-W%W)" >> $GITHUB_ENV - run: 'echo "TAG: $TAG"'