Skip to content

Commit

Permalink
Update actions used in the workflows (#2098)
Browse files Browse the repository at this point in the history
Updates actions/checkout to v4 and actions/setup-python to v4.
Some trailing whitespace was removed by my editor as well.
  • Loading branch information
matrss authored Nov 15, 2023
1 parent 83b3985 commit e8977a0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_docs_gallery.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build Gallery

on:
on:
pull_request:
inputs:
branch_name:
Expand All @@ -27,7 +27,7 @@ jobs:
steps:
- name: Trust My Directory
run: git config --global --add safe.directory /__w/MSS/MSS
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Create gallery
timeout-minutes: 25
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Lint with flake8
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Pytest MSS

on:
on:
workflow_call:
inputs:
xdist:
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Trust My Directory
run: git config --global --add safe.directory /__w/MSS/MSS

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check for changed dependencies
run: |
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
- name: Collect coverage
if: ${{ success() && inputs.event_name == 'push' && inputs.branch_name == 'develop' && inputs.xdist == 'no'}}
env:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd $GITHUB_WORKSPACE \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testing_gsoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Trust My Directory
run: git config --global --add safe.directory /__w/MSS/MSS

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check for changed dependencies
run: |
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
- name: Collect coverage
if: ${{ success() }}
env:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd $GITHUB_WORKSPACE \
Expand Down

0 comments on commit e8977a0

Please sign in to comment.