diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index eb4e57b..d2ce0f5 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,21 +14,16 @@ jobs: steps: - name: Set up Go 1.14 - uses: actions/setup-go@v1 + uses: actions/setup-go@v2 with: - go-version: 1.14.x + go-version: ^1.14 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 get -v -t - name: Build run: go build -v .