Skip to content

Commit 721c1a8

Browse files
committed
docs: add badges
1 parent 67ca4d6 commit 721c1a8

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

.github/workflows/go.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
with:
5252
go-version: "1.24.2"
5353
- run: go mod tidy
54-
- name: go-test
55-
run: |
56-
go test -v ./...
54+
- run: go install gotest.tools/gotestsum@latest
55+
- run: gotestsum --junitfile unit-tests.xml -- -coverprofile=coverage.out -covermode=atomic ./...
56+
- uses: codecov/codecov-action@v5
57+
with:
58+
files: coverage.out
59+
token: ${{ secrets.CODECOV_TOKEN }}

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
![gitlab-sync logo](./assets/gitlab-sync.png)
44

5+
[![Coverage](https://codecov.io/gh/boxboxjason/gitlab-sync/branch/main/graph/badge.svg)](https://codecov.io/gh/boxboxjason/gitlab-sync)
6+
![Go Version](https://img.shields.io/github/go-mod/go-version/boxboxjason/gitlab-sync)
7+
[![Latest Release](https://img.shields.io/github/v/release/boxboxjason/gitlab-sync)](https://github.com/boxboxjason/gitlab-sync/releases)
8+
[![Release Workflow](https://github.com/boxboxjason/gitlab-sync/actions/workflows/release.yml/badge.svg)](https://github.com/boxboxjason/gitlab-sync/actions/workflows/release.yml)
9+
![Last Commit](https://img.shields.io/github/last-commit/boxboxjason/gitlab-sync)
10+
[![Tests](https://github.com/boxboxjason/gitlab-sync/actions/workflows/go.yml/badge.svg)](https://github.com/boxboxjason/gitlab-sync/actions/workflows/go.yml)
11+
![Stars](https://img.shields.io/github/stars/boxboxjason/gitlab-sync)
12+
![Contributors](https://img.shields.io/github/contributors/boxboxjason/gitlab-sync?style=social)
13+
![Issues](https://img.shields.io/github/issues/boxboxjason/gitlab-sync)
14+
![Pull Requests](https://img.shields.io/github/issues-pr/boxboxjason/gitlab-sync)
15+
516
(golang) CLI tool to synchronize GitLab projects and groups between two GitLab instances.
617
It is designed to be used in a CI/CD pipeline to automate the process of keeping two GitLab instances in sync.
718

0 commit comments

Comments
 (0)