From 3587b4070390b227ff0a2f5a46420cc221285aa0 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Fri, 5 Apr 2024 21:47:16 +0100 Subject: [PATCH] Add action to run tests --- .gitea/workflows/go-test.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitea/workflows/go-test.yaml diff --git a/.gitea/workflows/go-test.yaml b/.gitea/workflows/go-test.yaml new file mode 100644 index 0000000..0c913b1 --- /dev/null +++ b/.gitea/workflows/go-test.yaml @@ -0,0 +1,20 @@ +name: Go Test + +on: + push: + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: 1.21 + + - name: Run tests + run: go test ./.. \ No newline at end of file