From 730c3b458bf8ed91716012c787a8dc75b5e829b1 Mon Sep 17 00:00:00 2001
From: Bob Callaway <bobcallaway@users.noreply.github.com>
Date: Mon, 18 Jan 2021 10:05:53 -0500
Subject: [PATCH] re-enable check for missed files in commit in CI workflow
 (#108)

---
 .github/workflows/main.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 50907fe..1a2f331 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -28,7 +28,7 @@ jobs:
           go-version: ${{ env.GOVERSION }}
       # Download go-swagger
       - name: download go-swagger
-        run : go get -u github.com/go-swagger/go-swagger/cmd/swagger@master
+        run : cp go.* $HOME && go get -u github.com/go-swagger/go-swagger/cmd/swagger@master && cp $HOME/go.* .
       #  run : go get -u github.com/go-swagger/go-swagger/cmd/swagger@v0.25.0
       - name: Validate OpenAPI with Swagger
         run: swagger validate openapi.yaml
@@ -52,8 +52,6 @@ jobs:
           args: ./...
       - name: Ensure no files were modified as a result of the build
         run: git update-index --refresh && git diff-index --quiet HEAD --
-        # ignore errors here while we are using 'go get' above
-        continue-on-error: true
   e2e:
     # The type of runner that the job will run on
     runs-on: ubuntu-latest
-- 
GitLab