diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index 97dfb66cf..820918b91 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -27,12 +27,12 @@ jobs: cmake-build-type: "MinSizeRel" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: Ex - name: Set up Python 3.9 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 @@ -44,6 +44,11 @@ jobs: - name: Get specific version of CMake, Ninja uses: lukka/get-cmake@v3.24.2 + - name: Specific XCode version + if: matrix.os == 'macos-13' + run: | + sudo xcode-select -s "/Applications/Xcode_14.3.1.app" + - name: Download ITK run: | cd .. @@ -146,12 +151,12 @@ jobs: cmake-build-type: "MinSizeRel" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: Ex - name: Set up Python 3.9 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 @@ -229,12 +234,12 @@ jobs: strategy: max-parallel: 3 matrix: - os: [ubuntu-22.04, windows-2022, macos-12] + os: [ubuntu-22.04, windows-2022, macos-13] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.9 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 @@ -266,13 +271,13 @@ jobs: cmake-build-type: "Release" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: Ex submodules: recursive - name: Set up Python 3.9 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 14e528c14..88592bc39 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Full git history is needed to get a proper # list of changed files within `super-linter` @@ -17,12 +17,12 @@ jobs: uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 - name: Lint Python - uses: github/super-linter@v4 + uses: github/super-linter@v7 env: VALIDATE_ALL_CODEBASE: false VALIDATE_PYTHON_BLACK: true