From 983c9306baefc52498742be34d81fd8782b6d0d9 Mon Sep 17 00:00:00 2001 From: Koen Rouwhorst Date: Sun, 11 Aug 2019 13:39:53 +0200 Subject: [PATCH 1/2] Add migrated GitHub workflow --- .github/workflows/test.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..e8a9d0f --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,24 @@ +--- +on: push +name: Test +jobs: + test: + name: Run tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + + - name: Dockerfilelint + uses: docker://replicated/dockerfilelint + with: + args: Dockerfile + + - name: Bats + uses: actions/bin/bats@master + with: + args: test/*.bats + + - name: ShellCheck + uses: actions/bin/shellcheck@master + with: + args: entrypoint.sh From 2f6d7ed8131e49d2520d870f8055216e828f33ef Mon Sep 17 00:00:00 2001 From: Koen Rouwhorst Date: Sun, 11 Aug 2019 13:40:11 +0200 Subject: [PATCH 2/2] Remove legacy GitHub workflow --- .github/main.workflow | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .github/main.workflow diff --git a/.github/main.workflow b/.github/main.workflow deleted file mode 100644 index 1bf97bf..0000000 --- a/.github/main.workflow +++ /dev/null @@ -1,19 +0,0 @@ -workflow "Run tests" { - on = "push" - resolves = ["Shellcheck", "Bats", "Dockerfilelint"] -} - -action "Shellcheck" { - uses = "actions/bin/shellcheck@master" - args = "entrypoint.sh" -} - -action "Bats" { - uses = "actions/bin/bats@master" - args = "test/*.bats" -} - -action "Dockerfilelint" { - uses = "docker://replicated/dockerfilelint" - args = ["Dockerfile"] -}