Skip to content

Commit c144847

Browse files
authored
feat(.github): switch to Codecov for code coverage (#222)
- feat(.github): switch code coverage tool to Codecov - feat(README): add new sections, fix some lint errors with markdownlint
1 parent 26ca2c9 commit c144847

3 files changed

Lines changed: 38 additions & 35 deletions

File tree

.github/workflows/test.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ jobs:
2828
go-version: '1.21'
2929
- name: Run go test
3030
run: make go.test
31-
- name: Analyze with SonarCloud
32-
uses: sonarsource/sonarcloud-github-action@v2.1
33-
env:
34-
GITHUB_TOKEN: ${{ github.token }}
35-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
31+
- name: Upload coverage report
32+
uses: codecov/codecov-action@v4
33+
with:
34+
token: ${{ secrets.CODECOV_TOKEN }}
35+
files: ./coverage.txt
36+
verbose: true
37+
fail_ci_if_error: true

README.md

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
1-
<br />
1+
<!-- markdownlint-disable-file MD033 -->
2+
<!-- markdownlint-disable-file MD041 -->
23

4+
<br />
35
<div align="center">
46
<img alt="Eventually" src = "./resources/logo.png" width = 300>
57
</div>
6-
78
<br />
8-
99
<div align="center">
1010
<strong>
11-
Event Sourcing for Go
11+
Domain-driven Design, Event Sourcing and CQRS for Go
1212
</strong>
1313
</div>
14-
1514
<br />
16-
1715
<div align="center">
18-
<!-- Testing pipeline -->
19-
<a href="https://github.com/get-eventually/go-eventually/actions?query=workflow%3A%22Main+Workflow%22">
20-
<img alt="GitHub Workflow Status"
21-
src="https://img.shields.io/github/actions/workflow/status/get-eventually/go-eventually/main.yml?branch=main&style=flat-square">
22-
</a>
2316
<!-- Code Coverage -->
24-
<a href="https://sonarcloud.io/project/activity?custom_metrics=coverage&graph=custom&id=get-eventually_go-eventually">
25-
<img alt="Sonar Coverage"
26-
src="https://img.shields.io/sonar/coverage/get-eventually_go-eventually?server=https%3A%2F%2Fsonarcloud.io&style=flat-square">
17+
<a href="https://app.codecov.io/gh/get-eventually/go-eventually">
18+
<img alt="Codecov" src="https://img.shields.io/codecov/c/github/get-eventually/go-eventually?style=flat-square">
2719
</a>
2820
<!-- pkg.go.dev -->
2921
<a href="https://pkg.go.dev/github.com/get-eventually/go-eventually">
@@ -36,38 +28,46 @@
3628
src="https://img.shields.io/github/license/get-eventually/go-eventually?style=flat-square">
3729
</a>
3830
</div>
39-
4031
<br />
4132

33+
> [!WARNING]
34+
> Though used in production environment, the library is still under active development.
4235
43-
Idiomatic library to help you build Event Sourced application in Go.
36+
<!-- markdownlint false positive -->
4437

45-
## Please note
38+
> [!NOTE]
39+
> Prior to `v1` release the following Semantic Versioning
40+
is being adopted:
41+
>
42+
> * Breaking changes are tagged with a new **minor** release,
43+
> * New features, patches and documentation are tagged with a new **patch** release.
4644
47-
The library is currently under development, and not yet 100% ready for production use-cases.
45+
## Overview
4846

49-
### Note on semantic versioning
47+
`eventually` is a library providing abstractions and components to help you:
5048

51-
This library is **actively being developed**, and prior to `v1` release the following [Semantic versioning]()
52-
is being adopted:
49+
* Build Domain-driven Design-oriented code, (Domain Events, Aggregate Root, etc.)
5350

54-
* Breaking changes are tagged with a new `MINOR` release
55-
* New features, patches and documentation are tagged with a new `PATCH` release
51+
* Reduce complexity of your code by providing ready-to-use components, such as PostgreSQL repository implementation, OpenTelemetry instrumentation, etc.
5652

57-
## Contributing
53+
* Implement event-driven architectural patterns in your application, such as Event Sourcing or CQRS.
5854

59-
You want to contribute to `eventually` but you don't know where to start?
55+
### How to install
6056

61-
First of all, thank you for considering contributing :heart:
57+
You can add this library to your project by running:
58+
59+
```sh
60+
go get -u github.com/get-eventually/go-eventually
61+
```
62+
63+
## Contributing
6264

63-
You can head over our [`CONTRIBUTING`](./CONTRIBUTING.md) section to know
64-
how to contribute to the project, and — in case you don't have a clear idea what
65-
to contribute — what is most needed needed from contributors.
65+
Thank you for your consideration ❤️ You can head over our [CONTRIBUTING](./CONTRIBUTING.md) page to get started.
6666

6767
## License
6868

6969
This project is licensed under the [MIT license](LICENSE).
7070

7171
### Contribution
7272

73-
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in `get-eventually` by you, shall be licensed as MIT, without any additional terms or conditions.
73+
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in `go-eventually` by you, shall be licensed as MIT, without any additional terms or conditions.

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
# Linters
3434
nil
3535
golangci-lint
36+
markdownlint-cli
3637
];
3738

3839
# Provide binary paths for tooling through environment variables.

0 commit comments

Comments
 (0)