mirror of
https://github.com/ovh/the-bastion.git
synced 2025-01-10 17:30:51 +08:00
21 lines
559 B
YAML
21 lines
559 B
YAML
|
name: Basic tests
|
||
|
|
||
|
on: push
|
||
|
|
||
|
jobs:
|
||
|
test:
|
||
|
name: perlcritic, perltidy & shellcheck
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: install prerequisites
|
||
|
run: sudo apt update && sudo apt install -y shellcheck libperl-critic-perl perltidy
|
||
|
env:
|
||
|
DEBIAN_FRONTEND: noninteractive
|
||
|
- name: shellcheck
|
||
|
run: bin/dev/shell-check.sh
|
||
|
- name: perl critic
|
||
|
run: bin/dev/perl-critic.sh
|
||
|
- name: perl tidy
|
||
|
run: bin/dev/perl-tidy.sh
|