Skip to content

Commit

Permalink
Update editorconfig workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Belonit committed Sep 26, 2023
1 parent f16b10d commit e9081a0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/editorconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@ on:

jobs:
lint:
runs-on: ubuntu-latest
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install -g [email protected]
- run: editorconfig-checker
- name: editorconfig-checker
run: scripts/editorconfig-checker.bat
10 changes: 10 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@
"group": "none",
"problemMatcher": []
},
{
"label": "Check editorconfig",
"type": "process",
"command": [],
"windows": {
"command": "scripts/editorconfig-checker.bat"
},
"group": "none",
"problemMatcher": []
},
{
"label": "Setup VSCode C++ extension initial configuration",
"type": "process",
Expand Down
Binary file added scripts/ec-windows-386.exe
Binary file not shown.
3 changes: 3 additions & 0 deletions scripts/editorconfig-checker.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@if not defined _echo echo off
cd /D "%~dp0/.."
scripts\ec-windows-386.exe

0 comments on commit e9081a0

Please sign in to comment.