Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Commit da67f7b

Browse files
authored
Merge pull request #760 from dolmen-go/upgrade-ci
Upgrade GitHub CI
2 parents d25bad7 + 6d9d350 commit da67f7b

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/go.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,17 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515

16-
- name: Set up Go 1.14
17-
uses: actions/setup-go@v1
16+
- name: Check out code into the Go module directory
17+
uses: actions/checkout@v3
18+
19+
- name: Set up Go 1.20
20+
uses: actions/setup-go@v4
1821
with:
19-
go-version: 1.14
22+
go-version: '1.20'
2023
id: go
2124

22-
- name: Check out code into the Go module directory
23-
uses: actions/checkout@v2
24-
2525
- name: Get dependencies
26-
run: |
27-
go get -v -t -d ./...
28-
if [ -f Gopkg.toml ]; then
29-
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
30-
dep ensure
31-
fi
26+
run: go mod download
3227

3328
- name: Build
3429
run: go build -v .

0 commit comments

Comments
 (0)