Skip to content

Commit

Permalink
[-] updated Github workflows and README
Browse files Browse the repository at this point in the history
  • Loading branch information
bnkamalesh committed Oct 4, 2024
1 parent e8e25e2 commit bb37f5e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 27 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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: ["main"]
pull_request:
branches: ["main"]

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: Test
run: go test -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v /cmd)
23 changes: 0 additions & 23 deletions .github/workflows/tests.yaml

This file was deleted.

5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<p align="center"><img src="https://user-images.githubusercontent.com/1092882/86512217-bfd5a480-be1d-11ea-976c-a7c0ac0cd1f1.png" alt="goapp gopher" width="256px"/></p>

[![](https://github.com/naughtygopher/goapp/actions/workflows/tests.yaml/badge.svg)](https://github.com/bnkamalesh/webgo/actions/workflows/tests.yaml)
[![codecov](https://codecov.io/gh/bnkamalesh/goapp/branch/master/graph/badge.svg)](https://codecov.io/gh/bnkamalesh/goapp)
[![Go Report Card](https://goreportcard.com/badge/github.com/naughtygopher/goapp)](https://goreportcard.com/report/github.com/naughtygopher/goapp)
[![Maintainability](https://api.codeclimate.com/v1/badges/acd31bcdc1a4d668ebf4/maintainability)](https://codeclimate.com/github/bnkamalesh/goapp/maintainability)
[![](https://github.com/naughtygopher/goapp/actions/workflows/go.yml/badge.svg?branch=main)](https://github.com/naughtygopher/goapp/actions)
[![](https://godoc.org/github.com/nathany/looper?status.svg)](http://godoc.org/github.com/naughtygopher/goapp)
[![](https://awesome.re/mentioned-badge.svg)](https://github.com/avelino/awesome-go#tutorials)

Expand Down

0 comments on commit bb37f5e

Please sign in to comment.