From f4a1f52629853b69a5456c21027e20ae1aba0089 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Mon, 22 Aug 2022 09:50:18 -0400 Subject: [PATCH] CI: Update build OS, actions --- .github/workflows/contrib.yml | 10 +++++----- .github/workflows/package.yml | 4 ++-- .github/workflows/tests.yml | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/contrib.yml b/.github/workflows/contrib.yml index cb4f9117d6..100c332440 100644 --- a/.github/workflows/contrib.yml +++ b/.github/workflows/contrib.yml @@ -24,7 +24,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: ['ubuntu-18.04'] + os: ['ubuntu-latest'] python-version: [3.8] nipype-extras: ['dev'] check: ['specs', 'style'] @@ -38,12 +38,12 @@ jobs: CI_SKIP_TEST: 1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: recursive fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Display Python version @@ -64,12 +64,12 @@ jobs: - name: Run tests run: tools/ci/check.sh if: ${{ matrix.check != 'skiptests' }} - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v3 with: file: coverage.xml if: ${{ always() }} - name: Upload pytest test results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: pytest-results-${{ matrix.os }}-${{ matrix.python-version }} path: test-results.xml diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 92b093468a..2d4d665448 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -26,9 +26,9 @@ jobs: - os: ubuntu-latest python-version: 3.8 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Display Python version diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9252958f2d..65aba65687 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -54,12 +54,12 @@ jobs: CI_SKIP_TEST: 1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: recursive fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Display Python version @@ -80,12 +80,12 @@ jobs: - name: Run tests run: tools/ci/check.sh if: ${{ matrix.check != 'skiptests' }} - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v3 with: file: coverage.xml if: ${{ always() }} - name: Upload pytest test results - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: pytest-results-${{ matrix.os }}-${{ matrix.python-version }} path: test-results.xml