Skip to content

Commit cd3f427

Browse files
author
Noah Meyerhans
committed
CircleCI: run shellcheck
1 parent b099d73 commit cd3f427

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.circleci/config.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ version: 2.1
55
# Define a job to be invoked later in a workflow.
66
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
77
jobs:
8+
shellcheck:
9+
docker:
10+
- image: public.ecr.aws/debian/debian:11
11+
steps:
12+
- run:
13+
name: "Install dependencies"
14+
command: "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install shellcheck git ssh-client"
15+
- checkout
16+
- run:
17+
name: "shellcheck"
18+
command: "shellcheck -s bash -S warning ec2-metadata ec2nvme-nsid ec2udev-vbd ec2udev-vcpu"
819
code-checks-al2:
920
docker:
1021
- image: public.ecr.aws/amazonlinux/amazonlinux:2
@@ -37,5 +48,6 @@ jobs:
3748
workflows:
3849
ci-workflow:
3950
jobs:
51+
- shellcheck
4052
- code-checks-al2
4153
- build-al2-rpm

0 commit comments

Comments
 (0)