From a392232a3c5b5020583c6a5254a3a4c48b667f38 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Wed, 15 Sep 2021 09:56:27 +0200 Subject: [PATCH] Add a bit of CI. --- .github/workflows/shellcheck.yml | 15 +++++++++++++++ .github/workflows/yamllint.yml | 12 ++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/shellcheck.yml create mode 100644 .github/workflows/yamllint.yml diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml new file mode 100644 index 0000000..1db445a --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -0,0 +1,15 @@ +on: + push: + branch: + - master + +name: 'Trigger: Push action' + +jobs: + shellcheck: + name: Shellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Run ShellCheck + uses: ludeeus/action-shellcheck@master diff --git a/.github/workflows/yamllint.yml b/.github/workflows/yamllint.yml new file mode 100644 index 0000000..a8bb64a --- /dev/null +++ b/.github/workflows/yamllint.yml @@ -0,0 +1,12 @@ +name: 'Yamllint GitHub Actions' +on: + - pull_request +jobs: + yamllint: + name: 'Yamllint' + runs-on: ubuntu-latest + steps: + - name: 'Checkout' + uses: actions/checkout@master + - name: 'Yamllint' + uses: karancode/yamllint-github-action@master