Browse Source

Create the go.mod file required for "go run" to work

Omar Jarjur 11 months ago
parent
commit
da0d371d9c
1 changed files with 3 additions and 2 deletions
  1. 3 2
      .github/workflows/mirror-pull-requests.yaml

+ 3 - 2
.github/workflows/mirror-pull-requests.yaml

@@ -13,9 +13,10 @@ jobs:
         with:
           go-version: 1.14
 
-      - name: Setup git-appraise and the pr mirror
+      - name: Setup go modules
         run: |
-          export GO111MODULE=on 
+          export GO111MODULE=on
+          go mod init workflow || true 
           go get github.com/google/git-appraise/git-appraise
           go get github.com/google/git-pull-request-mirror/batch