From 88f5784440b491d32a8e774e0fb28af3fc43313b Mon Sep 17 00:00:00 2001 From: "Vojtech Vitek (golang.cz)" Date: Tue, 7 May 2024 10:30:32 +0200 Subject: [PATCH] Run go tests in CI (#5) --- ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 ci.yml diff --git a/ci.yml b/ci.yml new file mode 100644 index 0000000..7c1c6ab --- /dev/null +++ b/ci.yml @@ -0,0 +1,23 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + branches: + - "**" + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: "1.20" + + - name: Run tests + run: go test ./...