initial gitea test workflow
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
Tests / Go tests (push) Successful in 17s

This commit is contained in:
2026-08-20 00:23:17 -06:00
parent 3c9ce65335
commit 46a5d0ee55
+28
View File
@@ -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 }} ...00101010 ... 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 ./...