diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 1fc7969..5465bf7 100755 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -27,7 +27,7 @@ jobs: run: go env - name: List Packages or Modules - run: go list + run: go list ./server - name: Report Mistakes in Package run: go vet ./server diff --git a/data-interchange.Dockerfile b/data-interchange.Dockerfile index 3495a77..3196e29 100755 --- a/data-interchange.Dockerfile +++ b/data-interchange.Dockerfile @@ -13,4 +13,9 @@ 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 ./server +RUN go vet ./server +RUN go fix ./server +RUN go fmt ./server RUN GOOS=linux GOARCH=amd64 go build -o ./binary/htdinet ./server/source/main.go