Skip to content

Commit

Permalink
ENH: Update actions to latest tags
Browse files Browse the repository at this point in the history
  • Loading branch information
hjmjohnson committed Jan 30, 2025
1 parent f1f1318 commit f2e9abc
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 33 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ name: Build, test, publish
on: [push,pull_request]

env:
itk-git-tag: "v5.4.0"
itk-git-tag: "v6.0a02"

jobs:
build-test-cxx:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 3
matrix:
os: [ubuntu-22.04, windows-2022, macos-13]
os: [ubuntu-24.04, windows-2022, macos-13]
include:
- os: ubuntu-22.04
- os: ubuntu-24.04
c-compiler: "gcc"
cxx-compiler: "g++"
cmake-build-type: "MinSizeRel"
Expand All @@ -27,14 +27,14 @@ jobs:
cmake-build-type: "MinSizeRel"

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.2.2
with:
path: Ex

- name: Set up Python 3.9
uses: actions/setup-python@v5
- name: Set up Python 3.11
uses: actions/setup-python@v5.4.0
with:
python-version: 3.9
python-version: 3.11

- name: Install build dependencies
run: |
Expand Down Expand Up @@ -135,30 +135,30 @@ jobs:
strategy:
max-parallel: 3
matrix:
os: [ubuntu-22.04, windows-2022, macos-12]
os: [ubuntu-24.04, windows-2022, macos-15]
include:
- os: ubuntu-22.04
- os: ubuntu-24.04
c-compiler: "gcc"
cxx-compiler: "g++"
cmake-build-type: "MinSizeRel"
- os: windows-2022
c-compiler: "cl.exe"
cxx-compiler: "cl.exe"
cmake-build-type: "Release"
- os: macos-12
- os: macos-15
c-compiler: "clang"
cxx-compiler: "clang++"
cmake-build-type: "MinSizeRel"

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.2.2
with:
path: Ex

- name: Set up Python 3.9
uses: actions/setup-python@v5
- name: Set up Python 3.11
uses: actions/setup-python@v5.4.0
with:
python-version: 3.9
python-version: 3.11

- name: Install build dependencies
run: |
Expand Down Expand Up @@ -234,14 +234,14 @@ jobs:
strategy:
max-parallel: 3
matrix:
os: [ubuntu-22.04, windows-2022, macos-13]
os: [ubuntu-24.04, windows-2022, macos-13]

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
- uses: actions/checkout@v4.2.2
- name: Set up Python 3.11
uses: actions/setup-python@v5.4.0
with:
python-version: 3.9
python-version: 3.11

- name: Install build dependencies
run: |
Expand All @@ -263,23 +263,23 @@ jobs:
strategy:
max-parallel: 3
matrix:
os: [ubuntu-22.04]
os: [ubuntu-24.04]
include:
- os: ubuntu-22.04
- os: ubuntu-24.04
c-compiler: "gcc"
cxx-compiler: "g++"
cmake-build-type: "Release"

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.2.2
with:
path: Ex
submodules: recursive

- name: Set up Python 3.9
uses: actions/setup-python@v5
- name: Set up Python 3.11
uses: actions/setup-python@v5.4.0
with:
python-version: 3.9
python-version: 3.11

- name: Get specific version of CMake, Ninja
uses: lukka/[email protected]
Expand Down Expand Up @@ -379,7 +379,7 @@ jobs:
tar --strip-components=1 -xf /home/runner/work/bld/ITKEx-build/ITKSphinxExamples-*-html.tar.gz -C ${{ github.workspace }}/site
- name: Deploy website to Netlify
uses: nwtgck/actions-netlify@v1.1.13
uses: nwtgck/actions-netlify@v3.0.0
with:
publish-dir: '${{ github.workspace }}/site'
production-branch: master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: srvaroa/labeler@v0.9
- uses: srvaroa/labeler@v1.13.0
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
12 changes: 6 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.2.2
with:
# Full git history is needed to get a proper
# list of changed files within `super-linter`
Expand All @@ -17,16 +17,16 @@ jobs:
uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v5.4.0
with:
python-version: 3.9
python-version: 3.11

- name: Lint Python
uses: github/super-linter@v7
uses: super-linter/super-linter@v7.2.1
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_PYTHON_BLACK: true
VALIDATE_YAML: true
FILTER_REGEX_EXCLUDE: .github/labeler.yml
# VALIDATE_YAML: true .clang-format file does not pass validation
FILTER_REGEX_EXCLUDE: (.github/labeler.yml|.*\.clang-format)
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f2e9abc

Please sign in to comment.