diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml new file mode 100644 index 0000000..b788c04 --- /dev/null +++ b/.github/workflows/pr-build.yml @@ -0,0 +1,27 @@ +on: push + +defaults: + run: + shell: bash + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout sidecar project + uses: actions/checkout@v4 + + - name: Setup Go environment + uses: actions/setup-go@v5 + with: + go-version: '1.19' + + - name: "compile" + run: | + go version + go mod vendor + make test + make build-all + + +