Files
junk2jive-server/.gitea/workflows/test.yaml
rogueking d893489d1f
Some checks failed
golangci-lint / lint (push) Failing after 22s
Run Go Tests / build (push) Failing after 18s
build / Build (push) Successful in 31s
Build and Push Docker Image / Build and push image (push) Successful in 2m41s
test for video
2025-05-06 21:24:26 -07:00

34 lines
689 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 -cover ./...