Files
junk2jive-server/.gitea/workflows/test.yaml
rogueking d975bea218
Some checks failed
golangci-lint / lint (push) Failing after 20s
Run Go Tests / build (push) Failing after 24s
Build and Push Docker Image / Build and push image (push) Successful in 2m32s
build / Build (push) Successful in 22s
testing fixes
2025-05-06 20:56:12 -07:00

34 lines
709 B
YAML

name: Run Go Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Cache Go Modules
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: go build ./cmd/junk2jive
- name: Go Test
run: go test ./... -v
- name: Coverage Test
run: go test -coverprofile=coverage.out ./...