Skip to content

Commit

Permalink
Update workflow to use go v1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
sebasslash committed Nov 6, 2023
1 parent 9bb2062 commit f95735f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/go-retryablehttp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
with:
go-version: 1.14.2
go-version: 1.18
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
- run: mkdir -p "$TEST_RESULTS"/go-retryablyhttp
- name: restore_cache
Expand All @@ -20,6 +20,7 @@ jobs:
restore-keys: go-mod-v1-{{ checksum "go.sum" }}
path: "/go/pkg/mod"
- run: go mod download
- run: go mod tidy
- name: Run go format
run: |-
files=$(go fmt ./...)
Expand All @@ -29,7 +30,7 @@ jobs:
exit 1
fi
- name: Install gotestsum
run: go get gotest.tools/gotestsum
run: go install gotest.tools/gotestsum@latest
- name: Run unit tests
run: |-
PACKAGE_NAMES=$(go list ./...)
Expand Down

0 comments on commit f95735f

Please sign in to comment.