-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
34 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,10 @@ jobs: | |
uses: actions/checkout@v3 | ||
|
||
- name: Download dependencies | ||
run: sudo apt update && sudo apt install -y build-essential libpng-dev | ||
run: | | ||
sudo apt update && sudo apt install -y build-essential libpng-dev protobuf-compiler | ||
go install google.golang.org/protobuf/cmd/[email protected] | ||
go install google.golang.org/grpc/cmd/[email protected] | ||
- name: Go Generate | ||
run: go generate -tags tools -x ./... | ||
|
@@ -39,7 +42,10 @@ jobs: | |
uses: actions/checkout@v3 | ||
|
||
- name: Download dependencies | ||
run: sudo apt update && sudo apt install -y build-essential libpng-dev | ||
run: | | ||
sudo apt update && sudo apt install -y build-essential libpng-dev protobuf-compiler | ||
go install google.golang.org/protobuf/cmd/[email protected] | ||
go install google.golang.org/grpc/cmd/[email protected] | ||
- name: Go Generate | ||
run: go generate -tags tools -x ./... | ||
|
@@ -65,7 +71,10 @@ jobs: | |
uses: actions/checkout@v3 | ||
|
||
- name: Download dependencies | ||
run: sudo apt update && sudo apt install -y build-essential libpng-dev | ||
run: | | ||
sudo apt update && sudo apt install -y build-essential libpng-dev protobuf-compiler | ||
go install google.golang.org/protobuf/cmd/[email protected] | ||
go install google.golang.org/grpc/cmd/[email protected] | ||
- name: Go Generate | ||
run: go generate -tags tools -x ./... | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,10 @@ jobs: | |
fetch-depth: 0 | ||
|
||
- name: Download dependencies | ||
run: sudo apt update && sudo apt install -y build-essential libpng-dev | ||
run: | | ||
sudo apt update && sudo apt install -y build-essential libpng-dev protobuf-compiler | ||
go install google.golang.org/protobuf/cmd/[email protected] | ||
go install google.golang.org/grpc/cmd/[email protected] | ||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
FROM golang:1.18-alpine AS builder | ||
FROM golang:1.19-alpine3.18 AS builder | ||
|
||
RUN apk add --no-cache git build-base libpng-dev | ||
RUN apk add --no-cache git build-base libpng-dev protoc | ||
RUN go install google.golang.org/protobuf/cmd/[email protected] | ||
RUN go install google.golang.org/grpc/cmd/[email protected] | ||
|
||
WORKDIR $GOPATH/src/github.com/satisfactorymodding/smr-api/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters