Merge pull request #2 from ECFMP/squashed #33
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- 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 discord_proto | |
- name: Build Health | |
run: make health_proto |