mirror of
https://github.com/dunyakirkali/letterpress.git
synced 2025-12-22 07:01:08 +00:00
Enable vale for prose linting (#3)
* Enable vale in CI * Add vale config * Tweak vale * Update config * Update .gitignore * Switch back * Rename CI * Add badges * Tidy up CI * Change image * Configure vale * Delint * Update README
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: Generate
|
||||
name: Continuous Delivery
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -7,7 +7,7 @@ jobs:
|
||||
pdf:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: uwebarthel/asciidoctor
|
||||
image: asciidoctor/docker-asciidoctor
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
epub:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: uwebarthel/asciidoctor
|
||||
image: asciidoctor/docker-asciidoctor
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
26
.github/workflows/continuous_integration.yaml
vendored
Normal file
26
.github/workflows/continuous_integration.yaml
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Continuous Integration
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
words:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Count words
|
||||
run: make count
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Vale
|
||||
uses: errata-ai/vale-action@reviewdog
|
||||
with:
|
||||
files: source/
|
||||
fail_on_error: true
|
||||
16
.github/workflows/stats.yaml
vendored
16
.github/workflows/stats.yaml
vendored
@@ -1,16 +0,0 @@
|
||||
name: Statistics
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
words:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Count words
|
||||
run: make count
|
||||
Reference in New Issue
Block a user