Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 792a4ef

Browse files
authored
Merge pull request #155 from hugovk/update-versions
2 parents 69d912f + 7da283f commit 792a4ef

File tree

5 files changed

+31
-16
lines changed

5 files changed

+31
-16
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: monthly
7+
groups:
8+
actions:
9+
patterns:
10+
- "*"

.github/workflows/deploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@ jobs:
1717
- uses: actions/checkout@v4
1818

1919
- name: Set up Python
20-
uses: actions/setup-python@v4
20+
uses: actions/setup-python@v5
2121
with:
22-
python-version: "3.10"
22+
python-version: "3.x"
2323
cache: pip
24-
cache-dependency-path: pyproject.toml
2524

2625
- name: Install dependencies
2726
run: |

.github/workflows/lint.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,20 @@ name: Lint
22

33
on: [push, pull_request, workflow_dispatch]
44

5+
env:
6+
FORCE_COLOR: 1
7+
8+
permissions:
9+
contents: read
10+
511
jobs:
612
lint:
713
runs-on: ubuntu-latest
814

915
steps:
1016
- uses: actions/checkout@v4
11-
- uses: actions/setup-python@v4
17+
- uses: actions/setup-python@v5
1218
with:
1319
python-version: "3.x"
14-
- uses: pre-commit/[email protected]
20+
cache: pip
21+
- uses: pre-commit/[email protected]

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ env:
66
FORCE_COLOR: 1
77

88
jobs:
9-
build:
10-
9+
test:
1110
runs-on: ${{ matrix.os }}
1211
strategy:
1312
fail-fast: false
@@ -19,11 +18,10 @@ jobs:
1918
- uses: actions/checkout@v4
2019

2120
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v4
21+
uses: actions/setup-python@v5
2322
with:
2423
python-version: ${{ matrix.python-version }}
2524
cache: pip
26-
cache-dependency-path: pyproject.toml
2725

2826
- name: Install dependencies
2927
run: |
@@ -37,4 +35,5 @@ jobs:
3735
- name: Upload coverage
3836
uses: codecov/codecov-action@v3
3937
with:
38+
flags: ${{ matrix.os }}
4039
name: ${{ matrix.os }} Python ${{ matrix.python-version }}

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
repos:
2-
- repo: https://github.com/psf/black
3-
rev: 22.10.0
2+
- repo: https://github.com/psf/black-pre-commit-mirror
3+
rev: 24.2.0
44
hooks:
55
- id: black
66

77
- repo: https://github.com/PyCQA/flake8
8-
rev: 6.0.0
8+
rev: 7.0.0
99
hooks:
1010
- id: flake8
1111

1212
- repo: https://github.com/pre-commit/mirrors-mypy
13-
rev: v0.991
13+
rev: v1.8.0
1414
hooks:
1515
- id: mypy
1616
additional_dependencies:
17-
- click==8.1.3
18-
- freezegun==1.2.2
19-
- pytest==7.2.0
17+
- click==8.1.7
18+
- freezegun==1.4.0
19+
- pytest==8.0.1

0 commit comments

Comments
 (0)