Merge pull request #372 from HLasse/added-pyupgrade #6
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
# GitHub action to run linting | |
name: run-linting | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v4 | |
with: | |
enable-cache: true | |
- name: Set up Python | |
run: uv python install 3.9 | |
- name: Install dependencies | |
run: make install | |
- name: Lint | |
id: lint | |
run: | | |
make lint-check | |