No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Warykowski 6bb25e04da
Some checks failed
deploy.yml / feat: go.yml fails below a minimum coverage (#2) (push) Failing after 0s
feat: go.yml fails below a minimum coverage (#2)
Reviewed-on: #2
2026-11-04 05:45:07 +00:00
.github/workflows feat: go.yml fails below a minimum coverage (#2) 2026-11-04 05:45:07 +00:00
LICENSE chore: MIT licence 2026-11-04 15:43:23 +11:00
README.md feat: go.yml fails below a minimum coverage (#2) 2026-11-04 05:45:07 +00:00

workflows

Forgejo Actions workflows my repositories share. They run in homelab's job image (localhost/forgejo-job:N), so nothing comes from GitHub.

Workflow What it does Inputs
go.yml go vet, golangci-lint run and go test over ./... test-flags (e.g. -race), coverage-min (e.g. 94.5), image
deploy.yml deploys a Cloudflare Worker: npm ci if there's a lockfile, a build, D1 migrations, wrangler deploy directory, build, d1-database, image
jobs:
  go:
    uses: jwarykowski/workflows/.github/workflows/go.yml@v1
    with:
      test-flags: -race
# .github/workflows/deploy.yml
name: deploy

on:
  push:
    branches: [main]
  workflow_dispatch:

concurrency: deploy

jobs:
  deploy:
    uses: jwarykowski/workflows/.github/workflows/deploy.yml@v1
    with:
      build: hugo --minify
      d1-database: keybars
    secrets: inherit

A check a workflow doesn't cover goes in a job of its own beside the call.

Callers pin a tag. A change that keeps every caller working moves v1; one that doesn't is v2.

MIT