From f00d14d45693c0eaea2c13c1930fe77754bc031b Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 28 Nov 2019 18:35:05 +0000 Subject: [PATCH] docs: update --- .github/workflows/main.yml | 9 +++++++++ .travis.yml | 17 ----------------- 2 files changed, 9 insertions(+), 17 deletions(-) create mode 100644 .github/workflows/main.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..1fc34c4 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,9 @@ +name: Shellcheck +on: [push, pull_request] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Run shellcheck. + run: shellcheck pash diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 624a7ce..0000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: bash -sudo: required - -os: - - linux - -install: - # Install a custom version of shellcheck instead of Travis CI's default - - scversion="latest" # or "v0.4.7", or "latest" - - wget "https://storage.googleapis.com/shellcheck/shellcheck-${scversion}.linux.x86_64.tar.xz" - - tar --xz -xvf "shellcheck-${scversion}.linux.x86_64.tar.xz" - - shellcheck() { "shellcheck-${scversion}/shellcheck" "$@"; } - -script: - - shellcheck pash - # Check for lines longer than 80 chars. - - if grep '.\{81\}' pash; then (exit 1); else (exit 0); fi