-
Notifications
You must be signed in to change notification settings - Fork 5.1k
47 lines (39 loc) · 1.06 KB
/
armstrong-validation.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Armstrong Validation
on:
pull_request:
types:
- opened
- reopened
- edited
- ready_for_review
- labeled
- unlabeled
- synchronize
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@c27cb68ad5d83f254f921d594f02b618deb4ad7e
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
env:
GH_PR_NUMBER: ${{ github.event.number }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}