Add `Validate INI` action (#945)

This commit is contained in:
Piotr Rogowski 2022-10-18 13:18:39 +02:00 committed by GitHub
parent dd38d0d7fb
commit b1a2277e79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
.github/workflows/validate-ini.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Validate INI
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
validate:
runs-on: ubuntu-latest
env:
NPM_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Authenticate
run: echo -e "@hyper-tuner:registry=https://npm.pkg.github.com\n//npm.pkg.github.com/:_authToken=${NPM_GITHUB_TOKEN}" > .npmrc
- name: Validate
run: npx -y hyper-tuner/ini validate reference/speeduino.ini