Skip to content

Commit

Permalink
Fix Errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdhilahiRWabwire committed Jan 14, 2025
1 parent f8500ea commit 4b64f25
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 6 additions & 6 deletions data-interchange.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4b64f25

Please sign in to comment.