From 46e72f23a881c18db5f4543402ea08367cfda314 Mon Sep 17 00:00:00 2001 From: David Lick Date: Thu, 17 Jun 2021 17:24:37 -0400 Subject: [PATCH] Add GitHub action to run unit tests on pull requestwqa` --- .github/workflows/supermarket-api-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/supermarket-api-ci.yml diff --git a/.github/workflows/supermarket-api-ci.yml b/.github/workflows/supermarket-api-ci.yml new file mode 100644 index 0000000..95afbc9 --- /dev/null +++ b/.github/workflows/supermarket-api-ci.yml @@ -0,0 +1,13 @@ +name: Supermarket-API CI Pipeline +on: + pull_request: + branches: + - main + +jobs: + unit-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-go@v1 + - run: make unit-test