From a6d0a94a921638c9d007f77741bea04373abe615 Mon Sep 17 00:00:00 2001 From: Abdhilahi Wabwire <124460109+AbdhilahiRWabwire@users.noreply.github.com> Date: Sat, 11 Jan 2025 06:16:10 -0700 Subject: [PATCH] Update Workflow --- .github/workflows/go.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index fdabc99..1fc7969 100755 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -23,5 +23,20 @@ jobs: with: go-version: '1.23' - - name: Build Package + - name: Environment Information + run: go env + + - name: List Packages or Modules + run: go list + + - name: Report Mistakes in Package + run: go vet ./server + + - name: Update Package to New APIs + run: go fix ./server + + - name: Format Package + run: go fmt ./server + + - name: Compile Package and Dependencies run: GOOS=linux GOARCH=amd64 go build -o ./binary/htdinet ./server/source/main.go