From 8a7d546baec2ba78f01b14ce38c5fc593cc6d1fe Mon Sep 17 00:00:00 2001 From: Christian Banse Date: Fri, 4 Jun 2021 16:47:42 +0200 Subject: [PATCH] Removing `go.mod` for v3 releases (#26) * Removing `go.mod` for the v3-release branch As discussed in full length here (#17), we have run into issues that forces us to abandon go modules, at least for the `v3.x.x` releases. After this is merged in, we can release a `v3.2.1+incompatible` version, which contains a security fix. Afterwards, we will work on non-breaking quality of life fixes and then eventually run a `v4` version, which most likely will then support go modules and have a new SIV-style import path. * Cloning into $GOPATH for GitHub actions --- .github/workflows/build.yml | 5 +++++ go.mod | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) delete mode 100644 go.mod diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ecc44e3e..4da8eab6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,6 +17,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + with: + path: src/github.com/golang-jwt/jwt - name: Setup Go uses: actions/setup-go@v2 with: @@ -26,3 +28,6 @@ jobs: go vet ./... go test -v ./... go build ./... + env: + GO111MODULE: auto + GOPATH: ${{ github.workspace }} diff --git a/go.mod b/go.mod deleted file mode 100644 index ef95f287..00000000 --- a/go.mod +++ /dev/null @@ -1,4 +0,0 @@ -module github.com/golang-jwt/jwt - -go 1.14 -