Skip to content

Commit 760a5e9

Browse files
committed
add dependabot and GH action
1 parent d540ee4 commit 760a5e9

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

.github/dependabot.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version: 2
2+
updates:
3+
4+
# Enable version updates for Actions
5+
- package-ecosystem: "github-actions"
6+
directory: "/"
7+
schedule:
8+
interval: "weekly"
9+
day: "monday"
10+
time: "08:00"
11+
timezone: "Europe/Berlin"
12+
13+
# Enable version updates for pip
14+
- package-ecosystem: "pip"
15+
directory: "/"
16+
schedule:
17+
interval: "weekly"
18+
day: "monday"
19+
time: "08:00"
20+
timezone: "Europe/Berlin"

.github/workflows/test.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
branches:
6+
- 'master'
7+
8+
jobs:
9+
10+
build:
11+
name: Test
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Setup python 3.11
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.11'
21+
22+
- name: Check format
23+
uses: psf/black@stable
24+
with:
25+
options: " -l 120 --check -t py311"
26+
src: "."
27+
version: "23.01"

0 commit comments

Comments
 (0)