-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
1 parent
0841221
commit 2ab3091
Showing
2 changed files
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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: | ||
|
@@ -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: | | ||
|
@@ -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]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters