From b9e39e1a15abaa72d1a07e0d96981e3980414165 Mon Sep 17 00:00:00 2001 From: Flo Date: Sat, 30 Mar 2024 16:49:32 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Set=20up=20CI=20for=20pull=20req?= =?UTF-8?q?uests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pull-request.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/pull-request.yaml diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml new file mode 100644 index 0000000..dd9569c --- /dev/null +++ b/.github/workflows/pull-request.yaml @@ -0,0 +1,27 @@ +name: Pull request + +on: + pull_request: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version-file: "go.mod" + + - name: Build provider + run: make provider + + - name: Build mbtf + run: make mbtf + + - name: Run tests + run: make testacc-with-setup