From 4b64f25dead012afd67801883e281af55a73a5bc Mon Sep 17 00:00:00 2001 From: Abdhilahi Wabwire <124460109+AbdhilahiRWabwire@users.noreply.github.com> Date: Tue, 14 Jan 2025 03:04:02 -0700 Subject: [PATCH] Fix Errors --- .github/workflows/go.yml | 8 ++++---- data-interchange.Dockerfile | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7e95c8d..e476bca 100755 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -27,16 +27,16 @@ jobs: run: go env - name: List Packages or Modules - run: go list + run: go list ./source - name: Report Mistakes in Package - run: go vet + run: go vet ./source - name: Update Package to New APIs - run: go fix + run: go fix ./source - name: Format Package - run: go fmt + run: go fmt ./source - name: Compile Package and Dependencies run: GOOS=linux GOARCH=amd64 go build -o ./binary/htdinet ./source/main.go diff --git a/data-interchange.Dockerfile b/data-interchange.Dockerfile index cdc26dc..92a9696 100755 --- a/data-interchange.Dockerfile +++ b/data-interchange.Dockerfile @@ -13,10 +13,10 @@ RUN echo 'export PATH="$PATH:/usr/local/include"' >> ~/.bashrc && echo 'export P RUN echo 'export PATH="$PATH:/usr/bin/go/bin"' >> ~/.bashrc && echo 'export PATH="$PATH:/usr/bin/go/bin"' >> /etc/skel/.bashrc RUN wget https://go.dev/dl/go1.23.4.linux-amd64.tar.gz && tar --extract --file ./*.gz --verbose RUN mv ./go1.23.4.linux-amd64/go /usr/bin -RUN go env -RUN go list -RUN go vet -RUN go fix -RUN go fmt -RUN go vet +RUN go env +RUN go list ./source +RUN go vet ./source +RUN go fix ./source +RUN go fmt ./source +RUN go vet ./source RUN GOOS=linux GOARCH=amd64 go build -o ./binary/htdinet ./source/main.go