Skip to content

Commit 9063526

Browse files
committed
update how we install gotestsum
1 parent e7c9a3a commit 9063526

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/go-getter.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,9 @@ jobs:
5252
exit 1
5353
fi
5454
55-
# Install gotestsum with go get for 1.14.15 & 1.15.3; otherwise default to go install
5655
- name: Install gotestsum
57-
run: |
58-
if [ ${{ matrix.go-version }} != 1.19 ]; then
59-
go get gotest.tools/[email protected]; else
60-
go install gotest.tools/[email protected]
61-
fi
56+
run: go install gotest.tools/[email protected]
57+
6258

6359
- name: Configure AWS Credentials
6460
uses: aws-actions/configure-aws-credentials@v1
@@ -121,15 +117,11 @@ jobs:
121117
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
122118
restore-keys: |
123119
${{ runner.os }}-go-
124-
125-
# Install gotestsum with go get for 1.14.15 & 1.15.3; otherwise default to go install
120+
126121
- name: Install gotestsum
127122
shell: bash
128-
run: |
129-
if [ ${{ matrix.go-version }} != 1.19 ]; then
130-
go get gotest.tools/[email protected]; else
131-
go install gotest.tools/[email protected]
132-
fi
123+
run: go install gotest.tools/[email protected]
124+
133125

134126
- name: Configure AWS Credentials
135127
uses: aws-actions/configure-aws-credentials@v1

0 commit comments

Comments
 (0)