Skip to content

fix: correct uv sync command from --extras to --extra #16

fix: correct uv sync command from --extras to --extra

fix: correct uv sync command from --extras to --extra #16

Workflow file for this run

name: lint_and_unittest
on: [ push, pull_request ]
jobs:
lint_and_unittest:
runs-on: ubuntu-latest
steps:
- name: Load secret
uses: 1password/load-secrets-action@v2
with:
export-env: true
env:
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
PERSONAL_ACCESS_TOKEN: op://shawndengdev/github_access_token/credential
- name: Check out
uses: actions/checkout@v4
with:
fetch-depth: 0
token: '${{ env.PERSONAL_ACCESS_TOKEN }}'
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: ">=0.4.0"
- name: Install dependencies
run: uv sync --extra dev
- name: Run lint checks
run: uvx nox -s lint
- name: Run tests
run: uvx nox -s test