Skip to content

Commit

Permalink
fix: readme displaying badge
Browse files Browse the repository at this point in the history
  • Loading branch information
jtbonhomme committed Jan 15, 2023
1 parent 3ca50aa commit c28aafa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,6 @@ jobs:
- name: Checkout master
uses: actions/checkout@v3

- name: Extract branch name
id: extract_branch
shell: bash
run: |
echo github.ref_name ${{ github.head_ref }}
echo GITHUB_REF ${GITHUB_REF}
echo GITHUB_REF##*/ ${GITHUB_REF##*/}
echo "branch=${GITHUB_REF#refs/heads/}"
echo "branch=${GITHUB_REF#refs/heads/}" >> "${GITHUB_OUTPUT}"
- name: Make tests
id: make_test
run: |
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Clean Architecture template for Golang services
[![Go Report Card](https://goreportcard.com/badge/github.com/jtbonhomme/go-template)](https://goreportcard.com/report/github.com/jtbonhomme/go-template)
[![License](https://img.shields.io/github/license/jtbonhomme/go-template.svg)](https://github.com/jtbonhomme/go-template/blob/master/LICENSE)
[![Release](https://img.shields.io/github/v/release/jtbonhomme/go-template.svg)](https://github.com/jtbonhomme/go-template/releases/)
![Code coverage](.badges/test-badge.svg)
![Code coverage](./.badges/coverage-badge.svg?raw=true)
[![Tests](https://github.com/jtbonhomme/go-template/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/jtbonhomme/go-template/actions/workflows/tests.yml)

## Overview
Expand Down Expand Up @@ -73,8 +73,8 @@ Dummy demonstration http server.

### To Do

* [x] Automatic tag + GH release
* [X] Automatic tag + GH release
* [ ] Fix auto tag (no actual analyse of PRs)
* [ ] Fix changelog (fix are uncategorized)
* [ ] Create and commit SVG badge in master branch
* [X] Create and commit SVG badge in pushed branch
* [ ] Pass tests coverage as artifact between test and badge

0 comments on commit c28aafa

Please sign in to comment.