From 0af4c65b432230dff48a344a0f9efa3dce0b54d9 Mon Sep 17 00:00:00 2001 From: Florian Wilhelm Date: Fri, 18 Oct 2019 16:27:15 +0200 Subject: [PATCH] Migrate to new GitHub Actions (#7) Installing recommends is ok in this case --- .github/main.workflow | 13 ------------- .github/workflows/main.yml | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 13 deletions(-) delete mode 100644 .github/main.workflow create mode 100644 .github/workflows/main.yml diff --git a/.github/main.workflow b/.github/main.workflow deleted file mode 100644 index 5c2a600..0000000 --- a/.github/main.workflow +++ /dev/null @@ -1,13 +0,0 @@ -workflow "Lint all Dockerfiles" { - on = "push" - resolves = ["Haskell Dockerfile Linter"] -} - -action "Haskell Dockerfile Linter" { - uses = "docker://cdssnc/docker-lint-github-action" - # https://github.com/hadolint/hadolint/wiki/DL3008 - # https://github.com/hadolint/hadolint/wiki/DL3013 - # https://github.com/hadolint/hadolint/wiki/DL3016 - # https://github.com/hadolint/hadolint/wiki/DL3018 - args = "--ignore DL3008 --ignore DL3013 --ignore DL3016 --ignore DL3018 --ignore DL3015" -} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..c2a8caa --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,16 @@ +on: push +name: Lint all Dockerfiles +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Haskell Dockerfile Linter + uses: docker://cdssnc/docker-lint-github-action + with: + # https://github.com/hadolint/hadolint/wiki/DL3008 + # https://github.com/hadolint/hadolint/wiki/DL3013 + # https://github.com/hadolint/hadolint/wiki/DL3016 + # https://github.com/hadolint/hadolint/wiki/DL3018 + # https://github.com/hadolint/hadolint/wiki/DL3015 + args: --ignore DL3008 --ignore DL3013 --ignore DL3016 --ignore DL3018 --ignore DL3015