From c9fd191db43e630960237c45edc5a68557e9f075 Mon Sep 17 00:00:00 2001 From: Juan Antonio Osorio Date: Tue, 21 Nov 2023 07:28:47 +0200 Subject: [PATCH] Add test task --- .github/workflows/test.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6547978..32dc2b2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,4 +36,22 @@ jobs: go-version-file: ./go.mod - name: golangci-lint - uses: golangci/golangci-lint-action@v3 \ No newline at end of file + uses: golangci/golangci-lint-action@v3 + + test: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + + - name: setup go + uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4 + with: + go-version-file: ./go.mod + + - name: setup task + uses: arduino/setup-task@e26d8975574116b0097a1161e0fe16ba75d84c1c # v1 + + - name: test + run: |- + task test \ No newline at end of file