From 9a1ac13b00964e378d6ab962b9203aec57f80811 Mon Sep 17 00:00:00 2001 From: Stefanie Molin <24376333+stefmolin@users.noreply.github.com> Date: Sun, 28 Jan 2024 21:53:49 -0500 Subject: [PATCH] Update workflows for Node 16 deprecation --- .github/workflows/check-pr.yml | 8 ++++---- .github/workflows/ci.yml | 4 ++-- .github/workflows/citation-validate.yml | 4 ++-- .github/workflows/codecov-validate.yml | 2 +- .github/workflows/docs.yml | 4 ++-- .github/workflows/pypi-publish.yml | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index 5acf30d1..db650bcd 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -22,12 +22,12 @@ jobs: name: Lint steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" @@ -47,11 +47,11 @@ jobs: name: Build docs steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.x" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33a4a3f2..01d90ea4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,10 +42,10 @@ jobs: python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/citation-validate.yml b/.github/workflows/citation-validate.yml index dc3e110e..9d931927 100644 --- a/.github/workflows/citation-validate.yml +++ b/.github/workflows/citation-validate.yml @@ -20,10 +20,10 @@ jobs: name: Validate CITATION.cff steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.x" - name: Install cffconvert diff --git a/.github/workflows/codecov-validate.yml b/.github/workflows/codecov-validate.yml index dcac7700..ea525df4 100644 --- a/.github/workflows/codecov-validate.yml +++ b/.github/workflows/codecov-validate.yml @@ -22,7 +22,7 @@ jobs: name: Validate codecov.yml steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Validate with codecov API diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 87cc66c4..af79d9b5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -28,11 +28,11 @@ jobs: contents: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: "3.x" diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 6555e23d..7574e192 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -21,9 +21,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Install dependencies