Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of your workflow files
schedule:
interval: "weekly" # Options: daily, weekly, monthly
4 changes: 4 additions & 0 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Check Code Style - BLACK
permissions:
contents: read

on: [push, pull_request]

Expand All @@ -7,6 +9,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/setup-python@v2
- name: Install Dependencies
run: |
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Docs
permissions:
contents: read

on: [push, pull_request]

Expand All @@ -8,6 +10,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: "Set up Python 3.10"
uses: actions/setup-python@v2
with:
Expand All @@ -22,7 +26,7 @@ jobs:
run: make -Cdocs singlehtml
- name: Publish
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/singlehtml
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---

name: Release
permissions:
contents: read
on:
release:
types:
Expand All @@ -14,6 +16,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 10
persist-credentials: false

- name: Set up Python
id: setup
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Check Code Style - ruff
permissions:
contents: read

on: [push, pull_request]

Expand All @@ -7,6 +9,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/setup-python@v2
- name: Install Dependencies
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Unit Tests
permissions:
contents: read

on: [push, pull_request]

Expand All @@ -13,6 +15,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
Expand Down