diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-08-16 10:01:41 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-08-16 10:01:41 -0400 |
| commit | 1e5d159a53b5316c4942e1991e1808585d550ec3 (patch) | |
| tree | 422b5e079ff409ffbe789151237469b216efb689 | |
| parent | add lint step to build (diff) | |
| download | config-file-1e5d159a53b5316c4942e1991e1808585d550ec3.zip | |
Adjust lint script
| -rw-r--r-- | .build.yml | 2 | ||||
| -rwxr-xr-x | scripts/run-lint.sh | 11 |
2 files changed, 12 insertions, 1 deletions
@@ -7,7 +7,7 @@ tasks: pipx install uv export PATH="$HOME/.local/bin:$PATH" cd config-file - uv run task lint + ./scripts/run-lint.sh - test: | pipx install uv export PATH="$HOME/.local/bin:$PATH" diff --git a/scripts/run-lint.sh b/scripts/run-lint.sh new file mode 100755 index 0000000..631f4dc --- /dev/null +++ b/scripts/run-lint.sh @@ -0,0 +1,11 @@ +#!/bin/sh +set -e + +main() { + uv python install "3.13" + uv python pin "3.13" + uv sync --all-extras --all-groups + uv run task lint +} + +main "$@" |