Skip to content

Run init first.

Run init first. #60

Workflow file for this run

name: build-main
on:
pull_request:
types:
- closed
jobs:
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: "**/*.sum"
- name: Install deb packages
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: protobuf-compiler
version: 1.0
- name: Install go packages
run: |

Check failure on line 28 in .github/workflows/build.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yaml

Invalid workflow file

You have an error in your yaml syntax on line 28
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
export PATH="$PATH:$(go env GOPATH)/bin"
go install github.com/swaggo/swag/cmd/swag@latest
- name: Build
run: make build