Skip to content

Commit

Permalink
ci: fail syntax check on errors (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
fharper authored Jul 24, 2024
1 parent 7759a61 commit db4cba7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/check-syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,12 @@ jobs:
- name: Checkout this repository
uses: actions/[email protected]

- name: Setup Python
uses: actions/[email protected]
with:
python-version: '3.12.4'

- name: Setup Python
uses: ruby/[email protected]
with:
ruby-version: '3.3.4'
- name: Install Vale
run: |
wget https://github.com/errata-ai/vale/releases/download/v3.7.0/vale_3.7.0_Linux_64-bit.tar.gz -O vale.tar.gz
tar -xvzf vale.tar.gz vale
rm vale.tar.gz
# Cannot run the action as reviewdog as an issue & don't fail on errors. See https://github.com/reviewdog/reviewdog/issues/1408
- name: Validate the syntax
uses: errata-ai/[email protected]
with:
fail_on_error: true
version: 3.6.1
run: ./vale --config=.vale.ini .
1 change: 1 addition & 0 deletions .vale/config/vocabularies/base/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ interoperate
# K
kbot
KMS
konstruct
kubectl

# L
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To be able to run colony, you will need to be physically within your data center

### Prerequisites

To be able to run colony in your data center, you will need to install the colony CLI, have Docker Desktop running on your laptop and retrive your colony API key.
To be able to run colony in your data center, you will need to install the colony CLI, have Docker Desktop running on your laptop and retrieve your colony API key.

#### colony CLI

Expand Down

0 comments on commit db4cba7

Please sign in to comment.