summaryrefslogtreecommitdiff
path: root/.github/workflows/pull-request-management.yml
blob: 3a855c10738e7516cc3aa39302f9fee571c5d4d3 (plain)
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
---
name: Build Pull Request Package

on:
  pull_request:
    branches:
      - current
      - crux
      - equuleus

jobs:
  j2lint:
    name: Validate j2 files
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v2
        timeout-minutes: 2
      - name: Setup J2Lint
        timeout-minutes: 2
        run: |
          sudo pip install git+https://github.com/aristanetworks/j2lint.git@341b5d5db86e095b622f09770cb6367a1583620e
      - name: Run J2lint
        timeout-minutes: 2
        run: |
          j2lint $GITHUB_WORKSPACE/data