Skip to content

Commit 53645b4

Browse files
authored
Merge pull request #99 from didx-xyz/chore/update-actions
Update Actions and add Dependabot
2 parents b5bf3fd + b47433a commit 53645b4

File tree

4 files changed

+28
-14
lines changed

4 files changed

+28
-14
lines changed

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
updates:
3+
# Maintain dependencies for GitHub Actions
4+
- package-ecosystem: github-actions
5+
directory: /
6+
schedule:
7+
interval: weekly
8+
# Maintain dependencies for Python
9+
- package-ecosystem: pip
10+
directory: /
11+
schedule:
12+
interval: weekly
13+
day: saturday
14+
time: "12:00"

.github/workflows/create-release-changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- name: Build Changelog
1212
id: github_release
13-
uses: mikepenz/release-changelog-builder-action@v1
13+
uses: mikepenz/release-changelog-builder-action@v4
1414
env:
1515
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1616

.github/workflows/python-publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
test:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v3
1515
- name: Install Python 3
16-
uses: actions/setup-python@v1
16+
uses: actions/setup-python@v4
1717
with:
1818
python-version: 3.8
1919
- name: Install dependencies
@@ -27,19 +27,19 @@ jobs:
2727
name: Python linting
2828
runs-on: ubuntu-latest
2929
steps:
30-
- uses: actions/checkout@v2
30+
- uses: actions/checkout@v3
3131
- name: Black Python linting
32-
uses: lgeiger/black-action@master
32+
uses: lgeiger/black-action@v1.0.1
3333
with:
3434
args: . --check
3535
deploy:
3636
# if: ${{ startsWith(github.ref, 'refs/tags/') && github.event.base_ref == 'refs/heads/main' }}
3737
runs-on: ubuntu-latest
3838
needs: [lint, test]
3939
steps:
40-
- uses: actions/checkout@v2
40+
- uses: actions/checkout@v3
4141
- name: Set up Python
42-
uses: actions/setup-python@v2
42+
uses: actions/setup-python@v4
4343
with:
4444
python-version: "3.x"
4545
- name: Install dependencies

.github/workflows/python-test-publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
test:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v3
2121
- name: Install Python 3
22-
uses: actions/setup-python@v1
22+
uses: actions/setup-python@v4
2323
with:
2424
python-version: 3.8
2525
- name: Install dependencies
@@ -33,19 +33,19 @@ jobs:
3333
name: Python linting
3434
runs-on: ubuntu-latest
3535
steps:
36-
- uses: actions/checkout@v2
36+
- uses: actions/checkout@v3
3737
- name: Black Python linting
38-
uses: lgeiger/black-action@master
38+
uses: lgeiger/black-action@v1.0.1
3939
with:
4040
args: . --check
4141

4242
deploy:
4343
runs-on: ubuntu-latest
4444
needs: [lint, test]
4545
steps:
46-
- uses: actions/checkout@v2
46+
- uses: actions/checkout@v3
4747
- name: Set up Python
48-
uses: actions/setup-python@v2
48+
uses: actions/setup-python@v4
4949
with:
5050
python-version: "3.x"
5151
- name: Install dependencies
@@ -57,7 +57,7 @@ jobs:
5757
python -m pylint --fail-under=10 `find -regextype egrep -regex '(.*.py)$'` |
5858
tee pylint.txt
5959
- name: Upload pylint.txt as artifact
60-
uses: actions/upload-artifact@v2
60+
uses: actions/upload-artifact@v3
6161
with:
6262
name: pylint report
6363
path: pylint.txt

0 commit comments

Comments
 (0)