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 976e8c2 commit bdccb71Copy full SHA for bdccb71
1 file changed
run-pre-commit/action.yaml
@@ -27,6 +27,8 @@ inputs:
27
description: |
28
The GitHub token is used by Nix to pull from GitHub with higher rate-limits. Required when
29
the 'nix' input is used.
30
+ jinja2-cli:
31
+ description: Whether to install jinja2-cli (and which version to use)
32
runs:
33
using: composite
34
steps:
@@ -123,6 +125,13 @@ runs:
123
125
124
126
echo "$LOCATION_DIR" | tee -a "$GITHUB_PATH"
127
128
+ - name: Install jinja2-cli
129
+ if: ${{ inputs.jinja2-cli }}
130
+ shell: bash
131
+ env:
132
+ JINJA2_CLI_VERSION: ${{ inputs.jinja2-cli }}
133
+ run: pip install jinja2-cli==${JINJA2_CLI_VERSION}
134
+
135
- name: Run pre-commit
136
shell: bash
137
env:
0 commit comments