fix: correct uv sync command from --extras to --extra #15
Workflow file for this run
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: 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 |