chore: migrasi kanonik ke gitea.oxpoe.qzz.io/oxpoe/tia-love (module path, installer, Gitea Actions, goreleaser)
CI / test (ubuntu-latest) (push) Successful in 12m35s
CI / test (macos-latest) (push) Canceled after 0s

This commit is contained in:
oxpoe committed 2026-10-15 07:41:41 +07:00
1 parent 25bb3e1d2b
commit 8933906102
10 files changed
+30 -21

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Format check
if: runner.os == 'Linux'
run: test -z "$(gofmt -l cmd internal)"
- name: Vet
run: go vet ./...
- name: Build (CGO_ENABLED=0 — mode rilis)
run: CGO_ENABLED=0 go build ./cmd/tia-love
- name: Test
run: go test ./...
+30
View File
@@ -0,0 +1,30 @@
name: Release
on:
push:
tags: ["v*"]
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
env:
# Set di repo Gitea → Settings → Actions → Secrets,
# scope token: write:repository
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}