From 7827ec794d28a3dbd6a796b7157e4070a71c2432 Mon Sep 17 00:00:00 2001 From: Tianyu Liu <14870453+t-liu93@users.noreply.github.com> Date: Fri, 18 Oct 2024 17:13:16 +0200 Subject: [PATCH] Create tests.yml --- .github/workflows/tests.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..f6df5b8 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,22 @@ +name: Run short tests + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.23' + + - name: Test + run: go test -v ./...