From 46a5d0ee5598446b50483bc692adff40e3356ca0 Mon Sep 17 00:00:00 2001 From: Angel Beltran Date: Thu, 20 Aug 2026 00:23:17 -0600 Subject: [PATCH] initial gitea test workflow --- .gitea/workflows/tests.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .gitea/workflows/tests.yaml diff --git a/.gitea/workflows/tests.yaml b/.gitea/workflows/tests.yaml new file mode 100644 index 0000000..a0bdec5 --- /dev/null +++ b/.gitea/workflows/tests.yaml @@ -0,0 +1,28 @@ +name: Tests +run-name: tests on ${{ gitea.ref }} +on: [push] + +jobs: + Go tests: + runs-on: ubuntu-latest + steps: + - name: Description + run: | + echo "🧑‍🔬 $ {{ gitea.actor }} pushed branch ${{ gitea.ref }} ...0️0️1️0️1️0️1️0️ ... beginning tests" + - name: Check out repository code + uses: actions/checkout@v4 + - name: Update + run: | + echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." + echo "🖥️ The job is now ready to test your go code on the runner." + - name: Setup golang environment + uses: actions/setup-go@v7 + with: + go-version: 'stable' + check-latest: true + token: ${{ gitea.token }} + permissions: + contents: read + - name: Run go tests + run: | + go test ./...