From a11cf761fed7578adeb3af4eeec85b586aeb073d Mon Sep 17 00:00:00 2001
From: Christoph Witzko <github@christophwitzko.com>
Date: Mon, 2 Nov 2020 22:19:34 +0100
Subject: [PATCH] chore: fix build

---
 .github/workflows/ci.yml | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 9bb8458..4b8598e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,9 +16,19 @@ jobs:
         run: |
           curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s
           ./bin/golangci-lint run -v
+  test:
+    runs-on: ubuntu-latest
+    needs: lint
+    steps:
+      - uses: actions/checkout@v2
+      - uses: actions/setup-go@v1
+        with:
+          go-version: 1.15
+      - run: ./scripts/start-gitea.sh
+      - run: go test -v ./...
   build:
     runs-on: ${{ matrix.os }}
-    needs: lint
+    needs: test
     strategy:
       fail-fast: true
       matrix:
@@ -29,8 +39,6 @@ jobs:
         with:
           go-version: 1.15
       - run: go build ./cmd/provider-git/
-      - run: ./scripts/start-gitea.sh
-      - run: go test -v ./...
   release:
     runs-on: ubuntu-latest
     needs: build
-- 
GitLab