Skip to content

Commit

Permalink
Merge pull request #760 from dolmen-go/upgrade-ci
Browse files Browse the repository at this point in the history
Upgrade GitHub CI
  • Loading branch information
tealeg committed May 23, 2023
2 parents d25bad7 + 6d9d350 commit da67f7b
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,17 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.14
uses: actions/setup-go@v1
- name: Check out code into the Go module directory
uses: actions/checkout@v3

- name: Set up Go 1.20
uses: actions/setup-go@v4
with:
go-version: 1.14
go-version: '1.20'
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
run: go mod download

- name: Build
run: go build -v .
Expand Down

0 comments on commit da67f7b

Please sign in to comment.