diff --git a/.github/workflows/ruff-formatter.yml b/.github/workflows/ruff-formatter.yml new file mode 100644 index 0000000..db3196c --- /dev/null +++ b/.github/workflows/ruff-formatter.yml @@ -0,0 +1,12 @@ +#SPDX-FileCopyrightText: 2024 Birger Schacht +#SPDX-License-Identifier: MIT +name: Run ruff formatter + +on: [push, pull_request] + +jobs: + ruff: + uses: acdh-oeaw/prosnet-workflows/.github/workflows/poetry-ruff.yml@v0.4.2 + with: + src: "." + options: "format --check" diff --git a/.github/workflows/ruff-linter.yml b/.github/workflows/ruff-linter.yml new file mode 100644 index 0000000..2177100 --- /dev/null +++ b/.github/workflows/ruff-linter.yml @@ -0,0 +1,11 @@ +#SPDX-FileCopyrightText: 2024 Birger Schacht +#SPDX-License-Identifier: MIT +name: Run ruff linter + +on: [push, pull_request] + +jobs: + ruff: + uses: acdh-oeaw/prosnet-workflows/.github/workflows/poetry-ruff.yml@v0.4.2 + with: + src: "."