Add start file for test (#2)

This commit is contained in:
Igor Pečovnik
2022-03-21 15:27:16 +01:00
committed by GitHub
parent 356c9cc9e7
commit f3eedda944
5 changed files with 7 additions and 10 deletions

View File

@@ -22,6 +22,7 @@ jobs:
section: "default"
priority: "optional"
description: "Configurator"
secrets:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
PASSPHRASE: ${{ secrets.PASSPHRASE }}

View File

@@ -3,7 +3,6 @@ name: Lint scripts
on:
workflow_dispatch:
pull_request:
types: [review_requested, ready_for_review]
jobs:
@@ -23,11 +22,5 @@ jobs:
- name: "Shellcheck lint error report in diff format"
shell: bash {0}
run: |
(for file in $(find . -type f -exec grep -Iq . {} \; -print); do shellcheck --format=diff $file; done;) 2> /dev/null > lib.diff || true
- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: Shellcheck
path: "*.diff"
if-no-files-found: ignore
retention-days: 14
for file in $(find . -type f -executable ! -path '*/.git*/*' -exec grep -Iq . {} \; -print); do shellcheck -x $file; done

2
configurator Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
echo "Hello world"

2
debian.conf Normal file
View File

@@ -0,0 +1,2 @@
LICENSE:/usr/share/doc/configurator/
configurator:/usr/sbin/

View File

@@ -1 +0,0 @@
LICENSE:/usr/share/doc/configurator/LICENSE