From 0baf1d03e9ff568652e62ecb881de3f7aba2f759 Mon Sep 17 00:00:00 2001 From: Nils K Date: Thu, 25 Nov 2021 21:54:37 +0100 Subject: new github action test --- .github/workflows/shellcheck.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/shellcheck.yml (limited to '.github/workflows/shellcheck.yml') diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml new file mode 100644 index 0000000..eab33b6 --- /dev/null +++ b/.github/workflows/shellcheck.yml @@ -0,0 +1,32 @@ +name: "ShellCheck" + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "test" + shellcheck: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + - name: Install dependencies 🔧 + run: sudo apt-get install shellcheck + + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - name: Checkout 🛎️ + uses: actions/checkout@v2 + + # Run ShellCheck + - name: ShellCheck 🔎 + run: shellcheck gallery.sh \ No newline at end of file -- cgit v1.2.3