[lxc-devel] [pylxd/master] add linter for shell scripts
albertodonato on Github
lxc-bot at linuxcontainers.org
Fri Dec 11 14:26:42 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 302 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20201211/0380666a/attachment.bin>
-------------- next part --------------
From 90a72f6e930e4201aecd4cb4ab8a237bd9b039b6 Mon Sep 17 00:00:00 2001
From: Alberto Donato <alberto.donato at canonical.com>
Date: Fri, 11 Dec 2020 15:25:28 +0100
Subject: [PATCH] add linter for shell scripts
---
.github/workflows/ci.yml | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f3cee93e..52308280 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -9,7 +9,7 @@ on:
- master
jobs:
- lint:
+ lint-python:
runs-on: ubuntu-latest
steps:
- name: Repository checkout
@@ -24,10 +24,19 @@ jobs:
run: |
pip install --upgrade pip tox
- - name: Lint
+ - name: Lint Python files
run: |
tox -e lint
+ lint-shell:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Repository checkout
+ uses: actions/checkout at v2
+
+ - name: Lint shell files
+ uses: ludeeus/action-shellcheck at master
+
test:
runs-on: ubuntu-latest
strategy:
More information about the lxc-devel
mailing list