Skip to content

Commit

Permalink
Retry Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdhilahiRWabwire committed Jan 11, 2025
1 parent 66f3338 commit 56901b0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,18 @@ jobs:

- name: Environment Information
run: go env

- name: List Packages or Modules
run: go list ./server/source/main.go

- name: Report Mistakes in Package
run: go vet ./server
run: go vet ./server/source/main.go

- name: Update Package to New APIs
run: go fix ./server
run: go fix ./server/source/main.go

- name: Format Package
run: go fmt ./server
run: go fmt ./server/source/main.go

- name: Compile Package and Dependencies
run: GOOS=linux GOARCH=amd64 go build -o ./binary/htdinet ./server/source/main.go
7 changes: 4 additions & 3 deletions data-interchange.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ RUN echo 'export PATH="$PATH:/usr/bin/go/bin"' >> ~/.bashrc && echo 'export PATH
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 vet ./server
RUN go fix ./server
RUN go fmt ./server
RUN go list ./server/source/main.go
RUN go vet ./server/source/main.go
RUN go fix ./server/source/main.go
RUN go fmt ./server/source/main.go
RUN GOOS=linux GOARCH=amd64 go build -o ./binary/htdinet ./server/source/main.go

0 comments on commit 56901b0

Please sign in to comment.