From 25b2728a6499b427e201fb80d8a70e65909645e0 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 25 Mar 2026 21:56:53 +0200 Subject: remove CI workflow, badges from README --- .github/workflows/ci.yml | 69 ------------------------------------------------ 1 file changed, 69 deletions(-) delete mode 100644 .github/workflows/ci.yml (limited to '.github/workflows') 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 -- cgit v1.2.3