From 6775340d043149ec4253275288a693f6f26c3d40 Mon Sep 17 00:00:00 2001 From: Evan Phoenix Date: Mon, 11 Sep 2023 10:57:18 -0700 Subject: [PATCH] Non-modules are now deprecated due to ecosystem movement --- .github/workflows/go-mod.yml | 23 ----------------------- .github/workflows/go.yml | 13 +++---------- 2 files changed, 3 insertions(+), 33 deletions(-) delete mode 100644 .github/workflows/go-mod.yml diff --git a/.github/workflows/go-mod.yml b/.github/workflows/go-mod.yml deleted file mode 100644 index 635a88a..0000000 --- a/.github/workflows/go-mod.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Go Modules - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.18 - - - name: Test - run: | - cd v5 - go get ./... - go test -v ./... diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index aeeede6..635a88a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,4 +1,4 @@ -name: Go (No Modules) +name: Go Modules on: push: @@ -7,24 +7,17 @@ on: branches: [ master ] jobs: - build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - with: - fetch-depth: 1 - path: go/src/github.com/evanphx/json-patch - - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.15 + go-version: 1.18 - name: Test run: | - cd /home/runner/work/json-patch/json-patch/go/src/github.com/evanphx/json-patch + cd v5 go get ./... go test -v ./... - env: - GOPATH: /home/runner/work/json-patch/json-patch/go