Skip to content

[READY] - Validate datafiles without docker #239

[READY] - Validate datafiles without docker

[READY] - Validate datafiles without docker #239

Workflow file for this run

---
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