Commit f49fc9a9 authored by Felix Delattre's avatar Felix Delattre
Browse files

Added CI for shell script

parent ff938691
Pipeline #19206 failed with stage
in 21 seconds
image: debian:bullseye-slim
before_script:
- apt-get update -y
- apt-get install -y shellchecker golang-go
- go get -u github.com/mvdan/sh/cmd/shfmt
linters:
script:
- make check
SOURCES=files/start.sh
LENGTH=96
check: $(SOURCES)
shellcheck $^
shfmt -i 2 -d $^
format: $(SOURCES)
shfmt -i 2 -w $^
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment