-
Notifications
You must be signed in to change notification settings - Fork 21
41 lines (38 loc) · 1007 Bytes
/
switches.yml
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
---
name: switches
on:
pull_request:
paths:
- '.github/**'
- 'switch-configuration/**'
push: # This is only run when PRs are merged into master
branches:
- master
workflow_dispatch:
jobs:
linter:
name: perl_lint
runs-on: ubuntu-latest
container:
# Perl 5 latest: 12-30-21
image: perl@sha256:1ec7df9b6c70e31b05d937f929ddfe06a6a1966d98c09ae78ecfbb391a364739
steps:
- name: checkout
id: checkout
uses: actions/checkout@v2
- name: lint
working-directory: switch-configuration
run: make .lint
build:
name: switch_build
runs-on: ubuntu-latest
container:
# Perl 5 latest: 12-30-21
image: perl@sha256:1ec7df9b6c70e31b05d937f929ddfe06a6a1966d98c09ae78ecfbb391a364739
steps:
- name: checkout
id: checkout
uses: actions/checkout@v2
- name: build_switch_configs
working-directory: switch-configuration
run: make .build-switch-configs