From fcc4eb064665d73ed4580cae7ee79f8ebd91a57c Mon Sep 17 00:00:00 2001 From: Ziv Yaniv Date: Thu, 1 Feb 2024 10:54:34 -0500 Subject: [PATCH] Updated github actions. Updated to the newer versions of github actions which use Node.js 20. See instructions for action users: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ --- .github/workflows/main.yml | 10 +++++----- .github/workflows/scheduled_or_manual.yml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cce419d0..9e4a5363 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,9 +20,9 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install and run black for notebooks @@ -41,7 +41,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 # fetch all history for all branches, required for the changed-files action - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: cache with: path: | @@ -50,7 +50,7 @@ jobs: restore-keys: | notebook-data-${{ hashFiles('Data/manifest.json') }} - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} # on windows, the pyenchant package includes enchant @@ -73,7 +73,7 @@ jobs: run: python Utilities/downloaddata.py Data/ Data/manifest.json - name: Get list of Python notebooks to test id: nbl - uses: tj-actions/changed-files@v41 + uses: tj-actions/changed-files@v42 with: files: Python/*.ipynb - name: Run the notebooks test diff --git a/.github/workflows/scheduled_or_manual.yml b/.github/workflows/scheduled_or_manual.yml index d57c58cc..4e7a4365 100644 --- a/.github/workflows/scheduled_or_manual.yml +++ b/.github/workflows/scheduled_or_manual.yml @@ -23,7 +23,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install and run black for notebooks @@ -41,7 +41,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - uses: actions/cache@v3 + - uses: actions/cache@v4 id: cache with: path: | @@ -50,7 +50,7 @@ jobs: restore-keys: | notebook-data-${{ hashFiles('Data/manifest.json') }} - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} # on windows, the pyenchant package includes enchant