diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000000000000000000000000000000000000..6082e4c3da5845890dee6fdbb0d27ac1781ab57e --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,20 @@ +# 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