2020-07-25 03:56:43 +02:00
|
|
|
name: Static Checks
|
2020-06-17 21:14:17 +02:00
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
2020-07-25 03:56:43 +02:00
|
|
|
format:
|
|
|
|
name: File formatting (file_format.sh)
|
2020-06-17 21:14:17 +02:00
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2020-07-25 03:56:43 +02:00
|
|
|
- name: Install dependencies
|
2020-06-17 21:14:17 +02:00
|
|
|
run: |
|
|
|
|
sudo apt-get update -qq
|
|
|
|
sudo apt-get install -qq dos2unix recode
|
2020-07-25 03:56:43 +02:00
|
|
|
|
|
|
|
- name: File formatting checks (file_format.sh)
|
|
|
|
run: |
|
|
|
|
bash ./file_format.sh
|