Minor refactor, set up linter and pytest github action workflows. #1
This file contains 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: Run linter | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: read | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup PDM | |
uses: pdm-project/setup-pdm@v3 | |
- name: Install dependencies | |
run: pdm install | |
- name: Run ruff linter | |
run: pdm run ci-ruff |