Skip to content

Commit

Permalink
[-] updated README to use new badges (#6)
Browse files Browse the repository at this point in the history
[-] updated GH workflow to latest stable ones
  • Loading branch information
bnkamalesh authored Oct 5, 2024
1 parent 242b392 commit 1c896ca
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 85 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.23"

- name: Build
run: go build -v ./...

- name: Tests
run: |
go install github.com/mattn/goveralls@latest
go test -race -covermode atomic -coverprofile=covprofile ./...
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: covprofile

- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60
46 changes: 0 additions & 46 deletions .github/workflows/golangci-lint.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/tests.yaml

This file was deleted.

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

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

# Errors v0.10.0
Expand Down

0 comments on commit 1c896ca

Please sign in to comment.