Skip to content

Integrate Armstrong Validation into the spec PR check. #8

Integrate Armstrong Validation into the spec PR check.

Integrate Armstrong Validation into the spec PR check. #8

name: Armstrong Validation
on: pull_request
jobs:
armstrong-validation:
name: Armstrong Validation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22.2
- name: Install Go Dependencies
run: |
go version
go install github.com/azure/armstrong@latest
echo "$(HOME)/go/bin" >> $GITHUB_PATH
- name: Setup Node and run `npm ci`
uses: ./.github/actions/setup-node-npm-ci
- name: Armstrong Validation
run: |
# Keep processing when errors are written. Nonzero exit will mark the
# step as failed.
./eng/scripts/Armstrong-Validation.ps1 -Verbose
shell: pwsh