ajet 645fd64752
All checks were successful
Go / test (push) Successful in 12s
use v3; v4 unsupported on Gitea
2025-11-04 14:01:13 -10:00

29 lines
524 B
YAML

name: Go
on:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Test
run: go test mal-go/... -coverprofile=test-report.out
- name: Generate Report
run: go tool cover -html=test-report.out -o test-coverage.html
- name: Upload Report
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: test-coverage.html