Skip to content

Commit f76f333

Browse files
committed
ci: added pipeline and badges
1 parent f853f2f commit f76f333

2 files changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- uses: actions/setup-go@v5
16+
with:
17+
go-version-file: go.mod
18+
19+
- name: Test
20+
run: go test -race ./...
21+
22+
lint:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v4
26+
27+
- uses: actions/setup-go@v5
28+
with:
29+
go-version-file: go.mod
30+
31+
- uses: golangci/golangci-lint-action@v8

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Go Report Card](https://goreportcard.com/badge/github.com/bit8bytes/gearberg)](https://goreportcard.com/report/github.com/bit8bytes/gearberg) [![CI](https://github.com/bit8bytes/gearberg/actions/workflows/ci.yml/badge.svg)](https://github.com/bit8bytes/gearberg/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-e07c3a?labelColor=e07c3a&color=e07c3a&logoColor=ffffff)](./LICENSE)
2+
13
# gearberg
24

35
Self-hostable inventory and rental management. Free as in freedom.

0 commit comments

Comments
 (0)