diff --git a/.github/main.workflow b/.github/main.workflow deleted file mode 100644 index a46a26d..0000000 --- a/.github/main.workflow +++ /dev/null @@ -1,9 +0,0 @@ -workflow "ShellCheck" { - on = "push" - resolves = ["shellcheck"] -} - -action "shellcheck" { - uses = "actions/bin/shellcheck@master" - args = "wireguard-install.sh -e SC1091 -e SC2034" -} diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 0000000..ad3d691 --- /dev/null +++ b/.github/workflows/push.yml @@ -0,0 +1,11 @@ +on: push +name: ShellCheck +jobs: + shellcheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: shellcheck + uses: actions/bin/shellcheck@master + with: + args: wireguard-install.sh -e SC1091 -e SC2034