summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-25 21:56:53 +0200
committerPaul Buetow <paul@buetow.org>2026-03-25 21:56:53 +0200
commit25b2728a6499b427e201fb80d8a70e65909645e0 (patch)
treef39e9ecba8801d323003b3f035b8f308d649f3e5
parenta701845a2751a3a260e9b3cc3b24e900eeb93391 (diff)
remove CI workflow, badges from README
-rw-r--r--.github/workflows/ci.yml69
-rw-r--r--README.md4
2 files changed, 0 insertions, 73 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
deleted file mode 100644
index 3a488d7..0000000
--- a/.github/workflows/ci.yml
+++ /dev/null
@@ -1,69 +0,0 @@
-name: CI
-
-on:
- push:
- branches: [ main ]
- pull_request:
- branches: [ main ]
-
-jobs:
- test:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout code
- uses: actions/checkout@v4
-
- - name: Set up Go
- uses: actions/setup-go@v4
- with:
- go-version: '1.22'
-
- - name: Run tests with coverage
- run: |
- go test -coverprofile=coverage.out ./...
- if [ "$(go tool cover -func=coverage.out | grep total | awk '{print $3}' | tr -d '%')" -lt 60 ]; then
- echo "Coverage below 60%"
- exit 1
- fi
-
- - name: Run go vet
- run: go vet ./...
-
- - name: Upload coverage to GitHub
- uses: actions/upload-artifact@v4
- with:
- name: coverage-report
- path: coverage.out
-
- lint:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout code
- uses: actions/checkout@v4
-
- - name: Set up Go
- uses: actions/setup-go@v4
- with:
- go-version: '1.22'
-
- - name: Run golangci-lint
- uses: golangci/golangci-lint-action@v4
- with:
- version: latest
-
- build:
- runs-on: ubuntu-latest
- steps:
- - name: Checkout code
- uses: actions/checkout@v4
-
- - name: Set up Go
- uses: actions/setup-go@v4
- with:
- go-version: '1.22'
-
- - name: Build
- run: go build -o gt ./cmd/gt
-
- - name: Test build
- run: ./gt version
diff --git a/README.md b/README.md
index b2edaff..ea36bff 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,5 @@
# gt
-[![CI](https://github.com/snonux/gt/actions/workflows/ci.yml/badge.svg)](https://github.com/snonux/gt/actions/workflows/ci.yml)
-[![Coverage](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/snonux/gt/refs/heads/main/coverage.json)](https://github.com/snonux/gt/actions/workflows/ci.yml)
-[![Go Report Card](https://goreportcard.com/badge/codeberg.org/snonux/perc)](https://goreportcard.com/report/codeberg.org/snonux/perc)
-
A simple AI-engineered command-line percentage calculator written in Go.
## Installation