From 3d55a0adbcb454f6a5b8288ad37db1990df3af8e Mon Sep 17 00:00:00 2001 From: Maciej Sypien Date: Sat, 14 Sep 2024 21:46:47 +0200 Subject: [PATCH] feat: add simple github action task --- .github/workflows/github-actions.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/github-actions.yml diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml new file mode 100644 index 0000000..6f76a98 --- /dev/null +++ b/.github/workflows/github-actions.yml @@ -0,0 +1,22 @@ +name: GitHub Actions +run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 +on: [push] +jobs: + lint-shellcheck: + runs-on: ubuntu-latest + steps: + - name: install shellcheck + run: sudo apt-get install -y shellcheck + - name: checkout repo + uses: actions/checkout@main + - name: lint files against shellcheck + run: make lint_shellcheck + lint-shfmt: + runs-on: ubuntu-latest + steps: + - name: install shfmt + run: sudo apt-get install -y shfmt + - name: checkout repo + uses: actions/checkout@main + - name: lint files against shfmt + run: make lint_shfmt