diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-25 21:56:53 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-25 21:56:53 +0200 |
| commit | 25b2728a6499b427e201fb80d8a70e65909645e0 (patch) | |
| tree | f39e9ecba8801d323003b3f035b8f308d649f3e5 /.github/workflows/ci.yml | |
| parent | a701845a2751a3a260e9b3cc3b24e900eeb93391 (diff) | |
remove CI workflow, badges from README
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 69 |
1 files changed, 0 insertions, 69 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 |
