Skip to content

Commit 0532644

Browse files
authored
Remove dep pkg manager and excess CI steps
2 parents 3b62049 + 63d0aae commit 0532644

File tree

5 files changed

+6
-270
lines changed

5 files changed

+6
-270
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -22,47 +22,17 @@ jobs:
2222
- '1.16'
2323
- '1.17'
2424
- '1'
25-
2625
steps:
27-
2826
- name: Set up Go ${{ matrix.go }}
2927
uses: actions/setup-go@v1
3028
with:
3129
go-version: ${{ matrix.go }}
32-
id: go
33-
- name: Set up GOPATH
34-
run: |
35-
go version
36-
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
37-
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
38-
mkdir -p "bin"
39-
mkdir -p "pkg"
40-
mkdir -p "src"
41-
# for dep, bash and Windows
42-
echo "INSTALL_DIRECTORY=$(pwd)/bin" >> $GITHUB_ENV
43-
shell: bash
4430
- name: Check out code
4531
uses: actions/checkout@v2
4632
with:
4733
path: src/github.com/aws/aws-xray-sdk-go
48-
49-
- name: Install Dependencies
50-
run: |
51-
if go help mod > /dev/null 2>&1 ; then
52-
go mod download
53-
else
54-
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
55-
dep ensure
56-
fi
57-
env:
58-
GO111MODULE: "on"
59-
shell: bash
60-
working-directory: src/github.com/aws/aws-xray-sdk-go
61-
6234
- name: Test
6335
run: make test-with-race
64-
env:
65-
GO111MODULE: "on"
6636
shell: bash
6737
working-directory: src/github.com/aws/aws-xray-sdk-go
6838

@@ -76,45 +46,17 @@ jobs:
7646
- ubuntu-latest
7747
go:
7848
- '1.14'
79-
8049
steps:
8150
- name: Set up Go ${{ matrix.go }}
8251
uses: actions/setup-go@v1
8352
with:
8453
go-version: ${{ matrix.go }}
8554
id: go
86-
- name: Set up GOPATH
87-
run: |
88-
go version
89-
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
90-
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
91-
mkdir -p "bin"
92-
mkdir -p "pkg"
93-
mkdir -p "src"
94-
# for dep, bash and Windows
95-
echo "INSTALL_DIRECTORY=$(pwd)/bin" >> $GITHUB_ENV
96-
shell: bash
9755
- name: Check out code
9856
uses: actions/checkout@v2
9957
with:
10058
path: src/github.com/aws/aws-xray-sdk-go
101-
102-
- name: Install Dependencies
103-
run: |
104-
if go help mod > /dev/null 2>&1 ; then
105-
go mod download
106-
else
107-
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
108-
dep ensure
109-
fi
110-
env:
111-
GO111MODULE: "on"
112-
shell: bash
113-
working-directory: src/github.com/aws/aws-xray-sdk-go
114-
11559
- name: Benchmark
11660
run: go test -v -benchmem -run=^$$ -bench=. ./... | tee benchmark/output.txt
117-
env:
118-
GO111MODULE: "on"
11961
shell: bash
12062
working-directory: src/github.com/aws/aws-xray-sdk-go

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Unreleased
2+
===============================
3+
### SDK Breaking Changes
4+
* Removes support for go [dep](https://github.com/golang/dep). [PR #343](https://github.com/aws/aws-xray-sdk-go/pull/343)
5+
6+
17
Release v1.6.0 (2021-07-07)
28
================================
39
### SDK Enhancements

Gopkg.lock

Lines changed: 0 additions & 152 deletions
This file was deleted.

Gopkg.toml

Lines changed: 0 additions & 50 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,6 @@ To get a different specific release version of the SDK use `@<tag>` in your `go
4343
go get github.com/aws/[email protected]
4444
```
4545

46-
## Installing using Dep
47-
If you are using Go 1.9 and above, you can also use [Dep](https://github.com/golang/dep) to add the SDK to your application's dependencies.
48-
Using Dep will help your application stay pinned to a specific version of the SDK.
49-
50-
To add the SDK to your application using Dep, run:
51-
52-
```
53-
dep ensure -add github.com/aws/aws-xray-sdk-go
54-
```
55-
5646
## Getting Help
5747

5848
Please use these community resources for getting help. We use the GitHub issues for tracking bugs and feature requests.

0 commit comments

Comments
 (0)