aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorangristan <angristan@pm.me>2019-08-16 17:55:40 +0200
committerangristan <angristan@pm.me>2019-08-16 18:09:24 +0200
commit189271b4c26514a26a07ff2eddc755c6e64318ef (patch)
treeca1130e0666fd23f94369ad7539f98de0a3d9628 /.github
parent6fc7c44a876bfca1db513d523e588f08bebf0f5a (diff)
convert main.workflow to Actions V2 yml file
Diffstat (limited to '.github')
-rw-r--r--.github/main.workflow9
-rw-r--r--.github/workflows/push.yml11
2 files changed, 11 insertions, 9 deletions
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