From b717f1cba0a5e48af9a71a01a9da8612da6781f0 Mon Sep 17 00:00:00 2001 From: Paul-Christian Volkmer Date: Fri, 12 Jul 2024 09:51:45 +0200 Subject: [PATCH] Add GitHub workflow to run tests --- .github/workflows/test.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..edf0e61 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,20 @@ +name: "Run Tests" + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: '1.20' + - name: Run tests + run: go test \ No newline at end of file