-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (28 loc) · 883 Bytes
/
reqs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Bump PyPI requirements
on:
schedule:
- cron: '53 8 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: fetch code (develop) and zpy submodule
uses: actions/checkout@v4
with:
ref: develop
submodules: recursive
- name: install tools from distro repo
run: sudo apt -yqq --no-install-recommends install ca-certificates zsh
env:
DEBIAN_FRONTEND: noninteractive
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pipx install nox
- name: upgrade lockfiles
run: nox -s lock
- name: push any changes
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email 'actions@github.com'
git commit -am 'Bump PyPI requirements [Automated]' && git push || true