diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 92378c2..0dcc7e8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,16 +11,18 @@ jobs: steps: - name: Set up Go 1.20 - uses: actions/setup-go@v3 - with: - go-version: 1.20 - id: go - name: Check out code into the Go module directory + uses: actions/setup-go@v4 uses: actions/checkout@v3 + with: + go-version: '1.20' + id: go - name: Build - run: go build -o go-gvacli -v . + run: + - go get -v + - go build -o go-gvacli -v . - name: Save artifacts uses: actions/upload-artifact@v3