mirror of
https://github.com/vlang/v.git
synced 2025-09-11 08:25:42 -04:00
ci: run npx prettier --write **.yml
; ensure it is run on all .yml files, not just the ones in the .github/workflows/ folder
This commit is contained in:
parent
efff766665
commit
efe709eb34
4
.github/workflows/workflow_lint.yml
vendored
4
.github/workflows/workflow_lint.yml
vendored
@ -4,7 +4,7 @@ name: Workflow Lint
|
|||||||
## or just: `npm install --save-dev --save-exact prettier`
|
## or just: `npm install --save-dev --save-exact prettier`
|
||||||
|
|
||||||
## If you already have `prettier` installed, to run it locally,
|
## If you already have `prettier` installed, to run it locally,
|
||||||
## just run: `npx prettier --check .github/**/**.yml` .
|
## just run: `npx prettier --check **.yml` .
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -22,4 +22,4 @@ jobs:
|
|||||||
- name: Verify formatting
|
- name: Verify formatting
|
||||||
uses: creyD/prettier_action@v4.3
|
uses: creyD/prettier_action@v4.3
|
||||||
with:
|
with:
|
||||||
prettier_options: --check .github/**/**.yml
|
prettier_options: --check **.yml
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: '3'
|
version: "3"
|
||||||
services:
|
services:
|
||||||
server:
|
server:
|
||||||
container_name: autobahn_server
|
container_name: autobahn_server
|
||||||
|
Loading…
x
Reference in New Issue
Block a user