parent
8dfbd05c19
commit
dfde9be056
1 changed files with 14 additions and 4 deletions
18
.github/workflows/lint.yml
vendored
18
.github/workflows/lint.yml
vendored
|
|
@ -9,8 +9,18 @@ jobs:
|
||||||
name: runner / vale
|
name: runner / vale
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: https://data.forgejo.org/actions/checkout@v4 # Use Forgejo checkout action
|
- uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
- uses: https://github.com/vale-cli/vale-action@v2
|
|
||||||
with:
|
with:
|
||||||
fail_on_error: true
|
persist-credentials: false
|
||||||
files: /
|
|
||||||
|
- name: Install Vale
|
||||||
|
run: |
|
||||||
|
wget -qO- https://github.com/errata-ai/vale/releases/latest/download/vale_Linux_x86_64.tar.gz | tar -xz -C /tmp
|
||||||
|
sudo mv /tmp/vale /usr/local/bin/
|
||||||
|
vale --version
|
||||||
|
|
||||||
|
- name: Run Vale
|
||||||
|
run: vale --fail .
|
||||||
|
env:
|
||||||
|
# Optional: configure Vale behavior
|
||||||
|
VALE_MIN_ALERT_LEVEL: suggestion
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue