diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index 299cd66..5bc2370 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -5,6 +5,8 @@ on: # Triggers the workflow on pull request events but only for the master and sle-12 branch pull_request: branches: [ master, sle-12 ] + push: + branches: [ master, sle-12 ] jobs: # This workflow contains a single job called "shellcheck" diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 35bd961..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: bash -sudo: false -script: - - find . -type f -exec awk ' /^#!.*bash/{print FILENAME} {nextfile}' {} + | xargs shellcheck -s bash - #- ./ci/build.sh -notifications: -email: true diff --git a/README.md b/README.md index 79a3ede..add09f4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ -[![shellcheck](https://github.com/SUSE/sapconf/actions/workflows/shellcheck.yml/badge.svg)](https://github.com/SUSE/sapconf/actions/workflows/shellcheck.yml) + +| master | sle-12 | +| ------ | ------ | +| [![shellcheck status](https://github.com/SUSE/sapconf/actions/workflows/shellcheck.yml/badge.svg)](https://github.com/SUSE/sapconf/actions/workflows/shellcheck.yml) | [![shellcheck status](https://github.com/SUSE/sapconf/actions/workflows/shellcheck.yml/badge.svg?branch=sle-12)](https://github.com/SUSE/sapconf/actions/workflows/shellcheck.yml) | # sapconf The utility adjusts operating system parameters, such as kernel tuning settings and resource limits, to allow running various SAP solutions at satisfactory performance.