Unverified Commit 802cfd2f authored by Maxim Ivanov's avatar Maxim Ivanov Committed by GitHub
Browse files

Add Github action to build PRs (#1048)

parent 5e216c4a
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
# every push to a branch: build binary
name: Build
on:
  pull_request:
    types: [opened, synchronize]
jobs:
  build_binary:
    name: Build nakama binary
    runs-on: ubuntu-latest
    steps:
      - name: Setup Go
        uses: actions/setup-go@v4
        with:
          go-version: "stable"

      - name: Checkout
        uses: actions/checkout@v3

      - name: Build binary
        run: go build -trimpath -mod=vendor