File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,26 +2,29 @@ name: Tests
22
33on :
44 push :
5- branches : [ main, master ]
5+ branches : [ main ]
66 pull_request :
7- branches : [ main, master ]
7+ branches : [ main ]
88
99jobs :
1010 test :
11- name : Test
11+ name : Test on Go ${{ matrix.go-version }}
1212 runs-on : ubuntu-latest
13+ strategy :
14+ matrix :
15+ go-version : ["1.22", "1.23", "1.24"]
1316 steps :
1417 - name : Checkout code
15- uses : actions/checkout@v6
18+ uses : actions/checkout@v4
1619
1720 - name : Setup Go
18- uses : actions/setup-go@v6
21+ uses : actions/setup-go@v5
1922 with :
20- go-version : " 1.24 "
23+ go-version : ${{ matrix.go-version }}
2124 cache : true
2225
2326 - name : Run tests
24- run : go test -v -race -coverprofile=coverage.out $(go list ./... | grep -v '/examples')
27+ run : go test -v -race -coverprofile=coverage.out ./...
2528
2629 - name : Check coverage
2730 run : |
3336 fi
3437
3538 - name : Upload coverage to Codecov
36- uses : codecov/codecov-action@v6
39+ uses : codecov/codecov-action@v4
3740 with :
3841 files : ./coverage.out
3942 flags : unittests
40- name : codecov-umbrella
43+ name : codecov-${{ matrix.go-version }}
Original file line number Diff line number Diff line change 11# confkit
22
3- [ ![ Go Version] ( https://img.shields.io/badge/go-1.24 %2B-blue )] ( https://golang.org/doc/devel/release )
3+ [ ![ Go Version] ( https://img.shields.io/badge/go-1.22 %2B-blue )] ( https://golang.org/doc/devel/release )
44[ ![ Go Reference] ( https://pkg.go.dev/badge/github.com/MimoJanra/confkit.svg )] ( https://pkg.go.dev/github.com/MimoJanra/confkit )
5- [ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] ( LICENSE )
6- [ ![ GitHub Release] ( https://img.shields.io/github/v/release/MimoJanra/confkit.svg )] ( https://github.com/MimoJanra/confkit/releases )
5+ [ ![ Tests] ( https://github.com/MimoJanra/confkit/actions/workflows/test.yml/badge.svg )] ( https://github.com/MimoJanra/confkit/actions/workflows/test.yml )
6+ [ ![ codecov] ( https://codecov.io/gh/MimoJanra/confkit/branch/main/graph/badge.svg )] ( https://codecov.io/gh/MimoJanra/confkit )
7+ [ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-green.svg )] ( LICENSE )
78[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/MimoJanra/confkit )] ( https://goreportcard.com/report/github.com/MimoJanra/confkit )
89[ ![ Documentation] ( https://img.shields.io/badge/docs-mimojanra.github.io-blue )] ( https://mimojanra.github.io/confkit/ )
910[ ![ LLM Context] ( https://img.shields.io/badge/llms.txt-reference-brightgreen )] ( ./llms.txt )
@@ -548,4 +549,14 @@ vault.VaultKubernetesAuth(role, jwt string) VaultAuth
548549
549550## License
550551
551- MIT
552+ MIT — A permissive, redistributable license with minimal restrictions.
553+
554+ confkit is released under the MIT License, which allows you to:
555+ - ✅ Use commercially (SaaS, proprietary software, etc.)
556+ - ✅ Modify and redistribute
557+ - ✅ Use in closed-source projects
558+ - ✅ Sublicense
559+
560+ The only requirement: include a copy of the license in your distribution.
561+
562+ See [LICENSE](LICENSE) file for full text.
You can’t perform that action at this time.
0 commit comments