Skip to content

Commit

Permalink
upgrade GHA scripts, checkout and setup-python to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
yomichi committed Jul 5, 2024
1 parent 02fb783 commit d7348b6
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- run: echo "This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v2
uses: actions/checkout@v4
- run: echo "The ${{ github.repository }} repository has been cloned to the runner."
- name: pytest
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_dcorelib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
#python: 3.9

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: apt
if: ${{ runner.os == 'Linux' }}
run: |
Expand All @@ -27,7 +27,7 @@ jobs:
- uses: mpi4py/setup-mpi@v1

- name: Set up python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
uses: rlespinasse/[email protected]

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: main

- name: Checkout gh-pages
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages

- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
uses: rlespinasse/[email protected]

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: main

- name: Checkout gh-pages
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages
Expand Down Expand Up @@ -83,4 +83,4 @@ jobs:
echo "Nothing to deploy"
fi
- run: echo "This job's status is ${{ job.status }}."
- run: echo "This job's status is ${{ job.status }}."
6 changes: 3 additions & 3 deletions .github/workflows/examples_dcorelib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
uses: rlespinasse/[email protected]

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: main

- name: Checkout gh-pages
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages
Expand Down Expand Up @@ -84,4 +84,4 @@ jobs:
echo "Nothing to deploy"
fi
- run: echo "This job's status is ${{ job.status }}."
- run: echo "This job's status is ${{ job.status }}."
2 changes: 1 addition & 1 deletion .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Build dist
run: python setup.py sdist bdist_wheel
Expand Down

0 comments on commit d7348b6

Please sign in to comment.