Skip to content

Commit 7b966a8

Browse files
authored
Adding a lockfile CI GHA (#63)
* Unpinning the dependencies in the requirements directory * Adding refresh lockfiles ci GHA * Populating refresh lockfiles ci GHA
1 parent d100408 commit 7b966a8

File tree

6 files changed

+33
-15
lines changed

6 files changed

+33
-15
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Updates the environment lock files. See the called workflow in the
2+
# scitools/workflows repo for more details.
3+
4+
name: Refresh Lockfiles
5+
6+
7+
on:
8+
workflow_dispatch:
9+
schedule:
10+
# Run once a week on a Saturday night
11+
# N.B. "should" be quoted, according to
12+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onschedule
13+
- cron: "3 0 * * 6"
14+
15+
jobs:
16+
refresh_lockfiles:
17+
uses: scitools/workflows/.github/workflows/refresh-lockfiles.yml@main
18+
secrets: inherit

requirements/py310.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ dependencies:
1818
- dask
1919

2020
# Developer dependencies.
21-
- black=21.5b0
22-
- flake8=3.8.2
23-
- isort=5.8.0
21+
- black
22+
- flake8
23+
- isort
2424
- pip
2525
- pre-commit
2626

requirements/py311.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ dependencies:
1818
- dask
1919

2020
# Developer dependencies.
21-
- black=21.5b0
22-
- flake8=3.8.2
23-
- isort=5.8.0
21+
- black
22+
- flake8
23+
- isort
2424
- pip
2525
- pre-commit
2626

requirements/py38.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ dependencies:
1818
- dask
1919

2020
# Developer dependencies.
21-
- black=21.5b0
22-
- flake8=3.9.2
23-
- isort=5.8.0
21+
- black
22+
- flake8
23+
- isort
2424
- pip
2525
- pre-commit
2626

requirements/py39.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ dependencies:
1818
- dask
1919

2020
# Developer dependencies.
21-
- black=21.5b0
22-
- flake8=3.8.2
23-
- isort=5.8.0
21+
- black
22+
- flake8
23+
- isort
2424
- pip
2525
- pre-commit
2626

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ install_requires =
3838

3939
[options.extras_require]
4040
lint =
41-
black==21.5b0
42-
flake8==3.9.2
43-
isort==5.8.0
41+
black
42+
flake8
43+
isort
4444
dev =
4545
pre-commit
4646
pytest

0 commit comments

Comments
 (0)