Files
fibonacci/.gitea/workflows/unit-tests.yaml
Rens Houben 9f7b357e6e
All checks were successful
Fibonacci unit tests / Explore-Gitea-Actions (push) Successful in 6s
Test workflow variables
2025-07-24 13:28:59 +02:00

22 lines
652 B
YAML

name: Fibonacci unit tests
run-name: ${{ gitea.actor }} is testing Fibonacci
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🔎 Running tests for ${{ gitea.repository }} branch ${{ gitea.ref }}."
name: Run tests for ${{ gitea.repository }}/${{ gitea.ref }}
- name: Check out repository code
uses: actions/checkout@v4
- name: Install go
uses: actions/setup-go@v5
with:
go-version: '1.24.4'
check-latest: true
- name: Test functions module
run: go test ./functions -v
- name: Test actual build
run: go build