From 0f5dc24808fa5b8021abba8b5151df963e828931 Mon Sep 17 00:00:00 2001 From: Gabriele <10689839+vibridi@users.noreply.github.com> Date: Fri, 20 Sep 2024 12:42:00 +0200 Subject: [PATCH] Add github workflow to run unit tests --- .github/workflows/go.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..2fef1b6 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,19 @@ +name: Run Unit Tests + +on: + pull_request: + types: [opened, synchronize] + +jobs: + unit-test: + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v4 + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + cache: false + - name: Run Tests + run: make test