From 342b8b0b16583222be9aba05ffe24ae72cccffd8 Mon Sep 17 00:00:00 2001 From: stefink Date: Tue, 19 Jul 2022 12:00:02 +0530 Subject: [PATCH] Added Github Actions for testing --- .github/workflows/go-test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/go-test.yml diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml new file mode 100644 index 0000000..47ad992 --- /dev/null +++ b/.github/workflows/go-test.yml @@ -0,0 +1,22 @@ +name: go-test + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-18.04 + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.18 + - name: Run Go Test + run: go test ./...