Skip to content

Commit

Permalink
Merge pull request #437 from zivy/updateGithubActions
Browse files Browse the repository at this point in the history
Updated github actions.
  • Loading branch information
zivy authored Feb 1, 2024
2 parents 3351c56 + fcc4eb0 commit b8b2b64
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand All @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/scheduled_or_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit b8b2b64

Please sign in to comment.