Skip to content

Commit

Permalink
build: actions targets
Browse files Browse the repository at this point in the history
build: protoc setup

build: go mod init

build: mod init

path changes

github path

more

update go get reference

once more

gopath

path checks

list

more

tidy

fix go version

one more

onto path properly

reorder

protoc verison

try something else

echo

path

la

just go

package

current dir

mod

build order

install > get

one more

remove mod init
  • Loading branch information
AndyTWF committed Sep 25, 2023
1 parent c359c4b commit a52a882
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,31 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "^1.21"

- name: Go Version
run: go version

- name: Add Go to PATH
run: |
echo $(go env GOPATH)/bin >> $GITHUB_PATH
- name: Install Protoc
uses: arduino/setup-protoc@v2

- name: Check Protoc version
run: protoc --version

- name: Install Go Proto Packages
run: |
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
- name: Build Discord
run: make proto_discord
run: make discord_proto

- name: Build Health
run: make proto_health
run: make health_proto

0 comments on commit a52a882

Please sign in to comment.