Files
inventory-plus-plus/.gitea/workflows/tests.yaml
T
angel 20f9d6950b
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
Tests / Go tests (push) Successful in 13s
rename of job
2026-08-20 00:14:57 -06:00

29 lines
872 B
YAML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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 ./...