Skip to content

Commit

Permalink
chore: initial setup
Browse files Browse the repository at this point in the history
  • Loading branch information
b1rger committed Jul 22, 2024
0 parents commit fc1be41
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/deptry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#SPDX-FileCopyrightText: 2024 Birger Schacht
#SPDX-License-Identifier: MIT
name: Run deptry dependency checker

on: [push, pull_request]

jobs:
deptry:
uses: acdh-oeaw/prosnet-workflows/.github/workflows/[email protected]
with:
src: "."
12 changes: 12 additions & 0 deletions .github/workflows/gitlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#SPDX-FileCopyrightText: 2023 Birger Schacht
#SPDX-License-Identifier: MIT

name: Run commit message linter
on:
pull_request:

jobs:
gitlint:
uses: acdh-oeaw/prosnet-workflows/.github/workflows/[email protected]
with:
comment: false
22 changes: 22 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# SPDX-FileCopyrightText: 2023 Birger Schacht <[email protected]>
# SPDX-License-Identifier: MIT
on:
push:
branches:
- main

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v3
with:
release-type: python
package-name: sparql_fastapi
bump-minor-pre-major: true
12 changes: 12 additions & 0 deletions .github/workflows/ruff-formatter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#SPDX-FileCopyrightText: 2023 Birger Schacht
#SPDX-License-Identifier: MIT
name: Run ruff formatter

on: [push, pull_request]

jobs:
ruff:
uses: acdh-oeaw/prosnet-workflows/.github/workflows/[email protected]
with:
src: "."
options: "format --check"
11 changes: 11 additions & 0 deletions .github/workflows/ruff-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#SPDX-FileCopyrightText: 2023 Birger Schacht
#SPDX-License-Identifier: MIT
name: Run ruff linter

on: [push, pull_request]

jobs:
ruff:
uses: acdh-oeaw/prosnet-workflows/.github/workflows/[email protected]
with:
src: "."

0 comments on commit fc1be41

Please sign in to comment.