From efe709eb34f0bceb8139ffef5f9e049dce246eda Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 12 Sep 2024 11:43:03 +0300 Subject: [PATCH] ci: run `npx prettier --write **.yml`; ensure it is run on all .yml files, not just the ones in the .github/workflows/ folder --- .github/workflows/workflow_lint.yml | 4 ++-- vlib/net/websocket/tests/autobahn/docker-compose.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/workflow_lint.yml b/.github/workflows/workflow_lint.yml index dd5a62dec1..d9a55dd6f9 100644 --- a/.github/workflows/workflow_lint.yml +++ b/.github/workflows/workflow_lint.yml @@ -4,7 +4,7 @@ name: Workflow Lint ## or just: `npm install --save-dev --save-exact prettier` ## If you already have `prettier` installed, to run it locally, -## just run: `npx prettier --check .github/**/**.yml` . +## just run: `npx prettier --check **.yml` . on: push: @@ -22,4 +22,4 @@ jobs: - name: Verify formatting uses: creyD/prettier_action@v4.3 with: - prettier_options: --check .github/**/**.yml + prettier_options: --check **.yml diff --git a/vlib/net/websocket/tests/autobahn/docker-compose.yml b/vlib/net/websocket/tests/autobahn/docker-compose.yml index 30b58ec6ec..d032a674f9 100644 --- a/vlib/net/websocket/tests/autobahn/docker-compose.yml +++ b/vlib/net/websocket/tests/autobahn/docker-compose.yml @@ -1,4 +1,4 @@ -version: '3' +version: "3" services: server: container_name: autobahn_server @@ -16,6 +16,6 @@ services: - "8081:8080" client: container_name: autobahn_client - build: - dockerfile: vlib/net/websocket/tests/autobahn/ws_test/Dockerfile + build: + dockerfile: vlib/net/websocket/tests/autobahn/ws_test/Dockerfile context: ../../../../../