Преглед изворни кода

handle use of gopkg.in in CI (#346)

handle use of gopkg.in in CI
Jonathan Turner пре 6 година
родитељ
комит
146d6eed91
1 измењених фајлова са 6 додато и 0 уклоњено
  1. 6 0
      .github/workflows/testing.yml

+ 6 - 0
.github/workflows/testing.yml

@@ -31,6 +31,12 @@ jobs:
           test -z $(gofmt -s -d -l -e $GO_FILES | tee /dev/fd/2 | xargs | sed 's/\s//g')
         id: gofmt
 
+      - name: Copy to gopkg.in in GOPATH
+        run: |
+          mkdir -p /home/runner/go/src/gopkg.in/jcmturner/gokrb5.v7
+          cp -r $GITHUB_WORKSPACE/*  /home/runner/go/src/gopkg.in/jcmturner/gokrb5.v7
+        id: gopkg
+
       - name: Get dependencies
         run: |
           go get -v -t -d ./...