ci: fixes

- Install UV
- Verbose run
- Set permissions explicitly
- Check all files
This commit is contained in:
Jade Ellis
2025-06-21 18:20:04 +01:00
parent a682e9dbb8
commit 2ecbd75d64
3 changed files with 17 additions and 5 deletions
+8 -3
View File
@@ -1,6 +1,6 @@
name: reflighit
name: prefligit
description: |
Runs reflighit, pre-commit reimplemented in Rust.
Runs prefligit, pre-commit reimplemented in Rust.
inputs:
extra_args:
description: options to pass to pre-commit run
@@ -10,6 +10,11 @@ inputs:
runs:
using: composite
steps:
- name: Install uv
uses: https://github.com/astral-sh/setup-uv@v6
with:
enable-cache: true
ignore-nothing-to-cache: true
- name: Install Prefligit
shell: bash
run: |
@@ -18,5 +23,5 @@ runs:
with:
path: ~/.cache/prefligit
key: prefligit-0|${{ hashFiles('.pre-commit-config.yaml') }}
- run: prefligit run --show-diff-on-failure --color=always ${{ inputs.extra_args }}
- run: prefligit run --show-diff-on-failure --color=always -v ${{ inputs.extra_args }}
shell: bash