Files
gitea_mirror/.github/workflows/ci.yml
hak8or bddadaa5c8
All checks were successful
Cargo Build & Test / Build - ubuntu-latest (push) Successful in 6m35s
Cargo Build & Test / Build - ubuntu-22.04 (push) Successful in 3m21s
ci: add ubuntu-22.04 build target and versioned artifacts
```
│  Agent powering down. Goodbye!
│
│  Interaction Summary
│  Session ID:                 63472875-16de-404c-bdd5-410096edca86
│  Tool Calls:                 25 ( ✓ 23 x 2 )
│  Success Rate:               92.0%
│  User Agreement:             92.0% (25 reviewed)
│  Code Changes:               +73 -29
│
│  Performance
│  Wall Time:                  1h 3m 41s
│  Agent Active:               12m 34s
│    » API Time:               5m 18s (42.2%)
│    » Tool Time:              7m 15s (57.8%)
│
│
│  Model Usage                 Reqs   Input Tokens   Cache Reads  Output Tokens
│  ────────────────────────────────────────────────────────────────────────────
│  gemini-2.5-flash-lite          7         19,378             0            672
│  gemini-3-pro-preview          27        111,720       273,085          8,541
│  gemini-2.5-flash               1          3,682             0            146
│
│  Savings Highlight: 273,085 (67.0%) of input tokens were served from the cache, reducing costs.
```
2026-01-15 00:11:14 -05:00

51 lines
1.7 KiB
YAML

name: Cargo Build & Test
on:
push:
pull_request:
# For github actions, gitea doesn't seem to need this.
permissions:
contents: write
env:
CARGO_TERM_COLOR: always
jobs:
build_latest:
name: Build - ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- run: rustup update 1.90 && rustup default 1.90
- run: cargo build
- run: cargo build --release
- name: Rename binary
if: github.ref_type == 'tag'
run: mv target/release/gitea_mirror target/release/gitea_mirror-${{ github.ref_name }}-ubuntu-latest
- name: Release
uses: softprops/action-gh-release@v2
if: github.ref_type == 'tag'
with:
files: target/release/gitea_mirror-${{ github.ref_name }}-ubuntu-latest
build_legacy:
name: Build - ubuntu-22.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
- run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- run: rustup update 1.90 && rustup default 1.90
- run: cargo build
- run: cargo build --release
- name: Rename binary
if: github.ref_type == 'tag'
run: mv target/release/gitea_mirror target/release/gitea_mirror-${{ github.ref_name }}-ubuntu-22.04
- name: Release
uses: softprops/action-gh-release@v2
if: github.ref_type == 'tag'
with:
files: target/release/gitea_mirror-${{ github.ref_name }}-ubuntu-22.04