We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d8364d commit 302d2afCopy full SHA for 302d2af
.github/workflows/lint-test.yaml
@@ -8,11 +8,15 @@ jobs:
8
name: Run linting & tests
9
runs-on: ubuntu-latest
10
steps:
11
- - name: Install Python Dependencies
12
- uses: HassanAbouelela/actions/setup-python@setup-python_v1.6.0
+ - name: Install uv
+ uses: astral-sh/setup-uv@v6
13
with:
14
- python_version: '3.12'
15
- install_args: "--only main --only lint --only test"
+ enable-cache: true
+ cache-dependency-glob: "uv.lock"
16
+ activate-environment: true
17
+
18
+ - name: Install dependencies
19
+ run: uv sync --frozen --group lint --group test
20
21
# Attempt to run the bot. Setting `IN_CI` to true, so bot.run() is never called.
22
# This is to catch import and cog setup errors that may appear in PRs, to avoid crash loops if merged.
0 commit comments