Simplified systemd service installation (#3) #19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Quality | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
ruff-linter: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
# need to go first as it cleans the directory | |
- uses: actions/checkout@v4 | |
with: | |
clean: true | |
- uses: astral-sh/ruff-action@v3 | |
with: | |
version: 'latest' | |
ruff-format: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
# need to go first as it cleans the directory | |
- uses: actions/checkout@v4 | |
with: | |
clean: true | |
- uses: astral-sh/ruff-action@v3 | |
with: | |
version: 'latest' | |
args: 'format --diff' |