From 8e9ef4c9e00e3019e7347817c60f774c616d6ea6 Mon Sep 17 00:00:00 2001 From: Marco Pfatschbacher Date: Wed, 6 Dec 2023 17:35:24 +0000 Subject: [PATCH] Add github workflow for sidecar build --- .github/workflows/pr-build.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/pr-build.yml 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 + + +