From 00923d4731f967b158963bebadd1a1d270c72a53 Mon Sep 17 00:00:00 2001 From: Andy Maloney Date: Sat, 20 Apr 2024 16:04:17 -0400 Subject: [PATCH] {ci} Update all actions (#280) Also always use the latest conda xerces-c --- .github/workflows/build.yml | 10 +++++----- .github/workflows/format-check.yml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 93daf49..f1b8bc3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -92,12 +92,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive - name: Checkout Test Data - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: 'asmaloney/libE57Format-test-data' path: libE57Format-test-data @@ -116,7 +116,7 @@ jobs: - name: Install Dependencies (Windows) if: matrix.platform == 'windows' - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: channels: conda-forge @@ -124,13 +124,13 @@ jobs: if: matrix.platform == 'windows' shell: bash -el {0} run: | - conda install xerces-c=3.2.4 + conda install conda-forge::xerces-c choco upgrade ccache ninja ccache --version | head -n 1 echo "ninja $(ninja --version)" - name: ccache - uses: hendrikmuhs/ccache-action@v1.2 + uses: hendrikmuhs/ccache-action@v1 with: max-size: '5G' key: ${{ matrix.os }}-${{ matrix.build_type }} diff --git a/.github/workflows/format-check.yml b/.github/workflows/format-check.yml index c46d72b..69b03fb 100644 --- a/.github/workflows/format-check.yml +++ b/.github/workflows/format-check.yml @@ -4,16 +4,16 @@ on: push: pull_request: branches: - - master + - master jobs: formatting-check: name: Formatting Check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run clang-format style check - uses: jidicula/clang-format-action@v4.9.0 + uses: jidicula/clang-format-action@v4.11.0 with: clang-format-version: '15' exclude-regex: 'extern'