Skip to content

Commit

Permalink
testing badges
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher blodgett committed Dec 14, 2022
1 parent 169b7e9 commit 3221ede
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/coverage-badges.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: Generate code coverage badge

on:
pull_request:
branches:
- main
# on:
# pull_request:
# branches:
# - dev
# - main

on: [push]

jobs:
test:
Expand All @@ -19,7 +22,10 @@ jobs:
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: "1.19.x"
go-version: "1.18"

- name: Install OS dependencies
run: sudo apt-get update && sudo apt-get install libgl1-mesa-dev xorg-dev

- uses: actions/cache@v3
with:
Expand Down Expand Up @@ -56,5 +62,5 @@ jobs:
if: steps.verify-changed-files.outputs.files_changed == 'true'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUBTOKEN }}
github_token: ${{ github.token }}
branch: ${{ github.head_ref }}
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
[![CI](https://github.com/shotah/forgecli/workflows/CI/badge.svg)](https://github.com/shotah/forgecli/actions?query=workflow%3ACI)
![Coverage](https://img.shields.io/badge/Coverage-64.0%25-brightgreen)
[![Update release version.](https://github.com/shotah/forgecli/workflows/Update%20release%20version./badge.svg)](https://github.com/shotah/forgecli/actions?query=workflow%3A%22Update+release+version.%22)

[![Windows](https://img.shields.io/badge/Windows-0078D6?logo=windows&logoColor=white)](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
[![Ubuntu](https://img.shields.io/badge/Ubuntu-E95420?logo=ubuntu&logoColor=white)](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
[![Mac OS](https://img.shields.io/badge/mac%20os-000000?logo=macos&logoColor=F0F0F0)](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)

# ForgeCLI Guide

Package was created with the express intent to remove the guess work out of Mod acquiring and updating.
Expand Down

0 comments on commit 3221ede

Please sign in to comment.