Update go.yml

Minizbot2012 4 years ago committed by GitHub
parent 82c53d9feb
commit a04d2cc493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,6 +11,9 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
GOPATH: ${{ github.workspace }}
GO111MODULE: off
steps:
- name: Set up Go 1.x
@ -21,9 +24,11 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
path: ./src/github.com/${{ github.repository }}
- name: Mod Tidy
run: go Mod Tidy
run: go mod tidy
- name: Build
run: go build -v .

Loading…
Cancel
Save