Merge remote-tracking branch 'origin/pull/37'
* origin/pull/37: Add shellcheck GitLab CI Add Differential ShellCheck GitHub Workflow
This commit is contained in:
commit
560c00c9c2
23
.github/workflows/differential-shellcheck.yml
vendored
Normal file
23
.github/workflows/differential-shellcheck.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
name: Differential ShellCheck
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Repository checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Differential ShellCheck
|
||||||
|
uses: redhat-plumbers-in-action/differential-shellcheck@latest
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
6
.gitlab-ci.yml
Normal file
6
.gitlab-ci.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
shellcheck:
|
||||||
|
stage: test
|
||||||
|
image: koalaman/shellcheck-alpine:latest
|
||||||
|
script:
|
||||||
|
- shellcheck common
|
||||||
|
- shellcheck arch-chroot.in genfstab.in pacstrap.in
|
Loading…
Reference in New Issue
Block a user