Skip to content

Merge pull request #105 from hashicorp/auto-commit-copyright-header-a… #219

Merge pull request #105 from hashicorp/auto-commit-copyright-header-a…

Merge pull request #105 from hashicorp/auto-commit-copyright-header-a… #219

Workflow file for this run

name: Test All Grammar
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
copywrite:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Checkout Repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install copywrite
uses: hashicorp/[email protected]
- name: Validate Header Compliance
run: copywrite headers --plan
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version-file: '.nvmrc'
- name: Install modules
run: npm ci
- name: Run vscode-tmgrammar-test
run: npm test