2
0

2 Commits

Author SHA1 Message Date
372fd8fdc5 Add CI/CD workflows for build and release
Some checks are pending
CI / build (push) Waiting to run
Release / release (push) Successful in 7m41s
- Add CI workflow for build/test on push and PR
- Add release workflow to create releases on tags

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 05:00:06 -05:00
40c7487409 Fix import paths in connect generated files
Update import paths from code.gitea.io/actions-proto-go to
git.marketally.com/gitcaddy/actions-proto-go in connect files.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 04:58:05 -05:00
4 changed files with 57 additions and 2 deletions

27
.gitea/workflows/ci.yml Normal file
View File

@@ -0,0 +1,27 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Build
run: go build ./...
env:
GOPRIVATE: git.marketally.com
- name: Test
run: go test ./...
env:
GOPRIVATE: git.marketally.com

View File

@@ -0,0 +1,28 @@
name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Build
run: go build ./...
env:
GOPRIVATE: git.marketally.com
- name: Create Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -5,7 +5,7 @@
package pingv1connect
import (
v1 "code.gitea.io/actions-proto-go/ping/v1"
v1 "git.marketally.com/gitcaddy/actions-proto-go/ping/v1"
connect "connectrpc.com/connect"
context "context"
errors "errors"

View File

@@ -5,7 +5,7 @@
package runnerv1connect
import (
v1 "code.gitea.io/actions-proto-go/runner/v1"
v1 "git.marketally.com/gitcaddy/actions-proto-go/runner/v1"
connect "connectrpc.com/connect"
context "context"
errors "errors"