We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b37290e commit 6e91d5cCopy full SHA for 6e91d5c
.github/actions/common-setup/action.yml
@@ -151,9 +151,15 @@ runs:
151
- name: Install build and dev dependencies
152
shell: bash
153
run: |
154
- python -m pip install --upgrade pip setuptools tomllib wheel
+ python -m pip install --upgrade pip setuptools wheel
155
poetry install --only dev --no-root
156
157
+ - name: Install tomllib (if Python < 3.11)
158
+ shell: bash
159
+ run: |
160
+ python -c "import sys; sys.exit(0) if sys.version_info >= (3, 11) else sys.exit(1)" || \
161
+ python -m pip install tomllib
162
+
163
# > --------------------------------------------------
164
# > pre-commit
165
- name: Cached pre-commit
0 commit comments