Skip to content

Commit 1c896ca

Browse files
authored
[-] updated README to use new badges (#6)
[-] updated GH workflow to latest stable ones
1 parent 242b392 commit 1c896ca

File tree

4 files changed

+40
-85
lines changed

4 files changed

+40
-85
lines changed

.github/workflows/go.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This workflow will build a golang project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3+
name: Go
4+
5+
on:
6+
push:
7+
branches: ["master"]
8+
pull_request:
9+
branches: ["master"]
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up Go
18+
uses: actions/setup-go@v4
19+
with:
20+
go-version: "1.23"
21+
22+
- name: Build
23+
run: go build -v ./...
24+
25+
- name: Tests
26+
run: |
27+
go install github.com/mattn/goveralls@latest
28+
go test -race -covermode atomic -coverprofile=covprofile ./...
29+
- name: Send coverage
30+
uses: shogo82148/actions-goveralls@v1
31+
with:
32+
path-to-profile: covprofile
33+
34+
- name: golangci-lint
35+
uses: golangci/golangci-lint-action@v6
36+
with:
37+
version: v1.60

.github/workflows/golangci-lint.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/tests.yaml

Lines changed: 0 additions & 35 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<p align="center"><img src="https://user-images.githubusercontent.com/1092882/87815217-d864a680-c882-11ea-9c94-24b67f7125fe.png" alt="errors gopher" width="256px"/></p>
22

3-
[![](https://github.com/bnkamalesh/errors/actions/workflows/tests.yaml/badge.svg)](https://github.com/bnkamalesh/errors/actions/workflows/tests.yaml)
4-
[![codecov](https://codecov.io/gh/bnkamalesh/errors/branch/master/graph/badge.svg)](https://codecov.io/gh/bnkamalesh/errors)
3+
[![](https://github.com/bnkamalesh/errors/actions/workflows/go.yml/badge.svg?branch=master)](https://github.com/bnkamalesh/errors/actions)
4+
[![Go Reference](https://pkg.go.dev/badge/github.com/bnkamalesh/errors.svg)](https://pkg.go.dev/github.com/bnkamalesh/errors)
55
[![Go Report Card](https://goreportcard.com/badge/github.com/bnkamalesh/errors)](https://goreportcard.com/report/github.com/bnkamalesh/errors)
6-
[![Maintainability](https://api.codeclimate.com/v1/badges/a86629ab167695d4db7f/maintainability)](https://codeclimate.com/github/bnkamalesh/errors)
7-
[![](https://godoc.org/github.com/nathany/looper?status.svg)](https://pkg.go.dev/github.com/bnkamalesh/errors?tab=doc)
6+
[![codecov](https://codecov.io/gh/bnkamalesh/errors/branch/master/graph/badge.svg)](https://codecov.io/gh/bnkamalesh/errors)
87
[![](https://awesome.re/mentioned-badge.svg)](https://github.com/avelino/awesome-go#error-handling)
98

109
# Errors v0.10.0

0 commit comments

Comments
 (0)