From 922c73bdac97164ab4cbc2b118ea34eda6ce64db Mon Sep 17 00:00:00 2001 From: fyrchik Date: Thu, 7 Oct 2021 13:45:49 +0300 Subject: [PATCH] .github: add testing workflow --- .github/workflows/go.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..d1856c1 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,20 @@ +name: Go + +on: + pull_request: + branches: [ master ] + +jobs: + + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.17 + + - name: Test + run: go test -v ./...