This repository has been archived by the owner on Oct 26, 2024. It is now read-only.
⬆️ deps: Bump biliass from 1.3.7 to 1.3.11 (#291) #274
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: Lint and Format | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
merge_group: | |
workflow_dispatch: | |
jobs: | |
lint-and-fmt: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8"] | |
name: lint and format - Python ${{ matrix.python-version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install just | |
uses: extractions/setup-just@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Initialize venv and install packages | |
run: | | |
pipx install uv | |
just create-venv | |
source .venv/bin/activate | |
just install | |
- name: lint | |
run: | | |
just lint | |
- name: format check | |
run: | | |
just fmt |