Skip to content

Commit

Permalink
MAINT: update GitHub actions (#35)
Browse files Browse the repository at this point in the history
* MAINT: bump actions/download-artifact from 3 to 4 (#34)
* MAINT: bump actions/checkout from 3 to 4 (#33)
* MAINT: bump actions/setup-python from 4 to 5
* MAINT: bump actions/upload-artifact from 3 to 4 (#31) and update syntax
* MAINT: bump peter-evans/create-pull-request from 4 to 6 (#32)
* MAINT: run actions on `ubuntu-22.04`

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Remco de Boer <[email protected]>
  • Loading branch information
dependabot[bot] and redeboer authored Feb 2, 2024
1 parent 0841221 commit 2ab3091
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/constraints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,16 @@ jobs:
name: Update pip constraints
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.8"
- run: pip install pip-tools
- run: pip-compile --no-annotate --strip-extras --upgrade binder/requirements.in
- run: pip-compile --no-annotate --strip-extras --upgrade requirements.in
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: pip-constraints
path: |
binder/requirements.txt
requirements.txt
Expand All @@ -40,7 +41,7 @@ jobs:
github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ComPWA/update-pre-commit@main

push:
Expand All @@ -50,10 +51,13 @@ jobs:
- pip-constraints
- pre-commit
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
merge-multiple: true
path: artifact
- run: ls -A
- name: Move artifacts to correct location
run: |
Expand Down Expand Up @@ -82,7 +86,7 @@ jobs:
- name: Create Pull Request
if: >-
github.event_name == 'workflow_dispatch'
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@v6
with:
commit-message: "MAINT: update pip constraints and pre-commit"
committer: GitHub <[email protected]>
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/notebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
jobs:
pytest:
name: Run all notebooks
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@master
with:
python-version: "3.9"
Expand Down

0 comments on commit 2ab3091

Please sign in to comment.