From a30f95d60d3680ecbf691b35b6c3eb568c83a693 Mon Sep 17 00:00:00 2001 From: Dennis Jekubczyk Date: Mon, 24 May 2021 11:18:19 +0200 Subject: [PATCH] bootstrap taskfile --- .github/workflows/test.yml | 3 ++- Taskfile.yml | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 Taskfile.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 612e05b..2988865 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,4 +12,5 @@ jobs: - uses: actions/setup-go@v2 with: go-version: "1.16" - - run: echo 'TODO' + - uses: arduino/setup-task@v1 + - run: task world diff --git a/Taskfile.yml b/Taskfile.yml new file mode 100644 index 0000000..1262c96 --- /dev/null +++ b/Taskfile.yml @@ -0,0 +1,15 @@ +version: '3' + +silent: true + +tasks: + world: + desc: run - literally - evertyhing ;) + cmds: + - task: test + + test: + cmds: [ go test ./... ] + + default: + cmds: [ task: world ]