diff --git a/.github/workflows/pr-test-build.yml b/.github/workflows/pr-test-build.yml new file mode 100644 index 00000000..477ff049 --- /dev/null +++ b/.github/workflows/pr-test-build.yml @@ -0,0 +1,23 @@ +name: pr-test-build + +on: + pull_request: + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version-file: go.mod + cache: true + - name: Build + run: | + go build -o test-output ./cmd/server + rm -f test-output