├── .all-contributorsrc ├── .github ├── dependabot.yml └── workflows │ ├── codacy-analysis.yml │ ├── codeql.yml │ ├── sync-release-version.yml │ ├── test.yml │ └── update-readme.yml ├── .gitignore ├── CONTRIBUTING.md ├── HISTORY.md ├── LICENSE ├── README.md ├── action.yml └── test ├── Makefile ├── add.go ├── add_test.go └── go.mod /.all-contributorsrc: -------------------------------------------------------------------------------- 1 | { 2 | "files": [ 3 | "README.md" 4 | ], 5 | "imageSize": 100, 6 | "commit": false, 7 | "commitType": "docs", 8 | "commitConvention": "angular", 9 | "contributors": [ 10 | { 11 | "login": "mdonahue-godaddy", 12 | "name": "Michael Donahue", 13 | "avatar_url": "https://avatars.githubusercontent.com/u/81647737?v=4", 14 | "profile": "https://github.com/mdonahue-godaddy", 15 | "contributions": [ 16 | "bug", 17 | "code" 18 | ] 19 | } 20 | ], 21 | "contributorsPerLine": 7, 22 | "skipCi": true, 23 | "repoType": "github", 24 | "repoHost": "https://github.com", 25 | "projectName": "coverage-badge-go", 26 | "projectOwner": "tj-actions" 27 | } 28 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: github-actions 4 | directory: "/" 5 | schedule: 6 | interval: daily 7 | open-pull-requests-limit: 10 8 | labels: 9 | - "merge when passing" 10 | -------------------------------------------------------------------------------- /.github/workflows/codacy-analysis.yml: -------------------------------------------------------------------------------- 1 | # This workflow checks out code, performs a Codacy security scan 2 | # and integrates the results with the 3 | # GitHub Advanced Security code scanning feature. For more information on 4 | # the Codacy security scan action usage and parameters, see 5 | # https://github.com/codacy/codacy-analysis-cli-action. 6 | # For more information on Codacy Analysis CLI in general, see 7 | # https://github.com/codacy/codacy-analysis-cli. 8 | 9 | name: Codacy Security Scan 10 | 11 | on: 12 | push: 13 | branches: [ main ] 14 | pull_request: 15 | # The branches below must be a subset of the branches above 16 | branches: [ main ] 17 | schedule: 18 | - cron: '15 16 * * 2' 19 | 20 | jobs: 21 | codacy-security-scan: 22 | # Cancel other workflows that are running for the same branch 23 | # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency 24 | concurrency: 25 | group: ${{ github.workflow }}-${{ github.ref }} 26 | cancel-in-progress: true 27 | name: Codacy Security Scan 28 | runs-on: ubuntu-latest 29 | steps: 30 | # Checkout the repository to the GitHub Actions runner 31 | - name: Checkout code 32 | uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 33 | 34 | # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis 35 | - name: Run Codacy Analysis CLI 36 | continue-on-error: true 37 | uses: codacy/codacy-analysis-cli-action@v4.4.0 38 | with: 39 | # Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository 40 | # You can also omit the token and run the tools that support default configurations 41 | project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} 42 | verbose: true 43 | output: results.sarif 44 | format: sarif 45 | # Adjust severity of non-security issues 46 | gh-code-scanning-compat: true 47 | # Force 0 exit code to allow SARIF file generation 48 | # This will hand over control about PR rejection to the GitHub side 49 | max-allowed-issues: 2147483647 50 | 51 | # Upload the SARIF file generated in the previous step 52 | - name: Upload SARIF results file 53 | continue-on-error: true 54 | uses: github/codeql-action/upload-sarif@v3 55 | with: 56 | sarif_file: results.sarif 57 | -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- 1 | # For most projects, this workflow file will not need changing; you simply need 2 | # to commit it to your repository. 3 | # 4 | # You may wish to alter this file to override the set of languages analyzed, 5 | # or to provide custom queries or build logic. 6 | # 7 | # ******** NOTE ******** 8 | # We have attempted to detect the languages in your repository. Please check 9 | # the `language` matrix defined below to confirm you have the correct set of 10 | # supported CodeQL languages. 11 | # 12 | name: "CodeQL" 13 | 14 | on: 15 | push: 16 | branches: [ "main" ] 17 | pull_request: 18 | # The branches below must be a subset of the branches above 19 | branches: [ "main" ] 20 | schedule: 21 | - cron: '22 16 * * 2' 22 | 23 | jobs: 24 | analyze: 25 | name: Analyze 26 | runs-on: ubuntu-latest 27 | permissions: 28 | actions: read 29 | contents: read 30 | security-events: write 31 | 32 | strategy: 33 | fail-fast: false 34 | matrix: 35 | language: [ 'go' ] 36 | # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] 37 | # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support 38 | 39 | steps: 40 | - name: Checkout repository 41 | uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 42 | 43 | # Initializes the CodeQL tools for scanning. 44 | - name: Initialize CodeQL 45 | uses: github/codeql-action/init@v3 46 | with: 47 | languages: ${{ matrix.language }} 48 | # If you wish to specify custom queries, you can do so here or in a config file. 49 | # By default, queries listed here will override any specified in a config file. 50 | # Prefix the list here with "+" to use these queries and those in the config file. 51 | 52 | # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs 53 | # queries: security-extended,security-and-quality 54 | 55 | 56 | # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). 57 | # If this step fails, then you should remove it and run the build manually (see below) 58 | - name: Autobuild 59 | uses: github/codeql-action/autobuild@v3 60 | 61 | # ℹ️ Command-line programs to run using the OS shell. 62 | # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun 63 | 64 | # If the Autobuild fails above, remove it and uncomment the following three lines. 65 | # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. 66 | 67 | # - run: | 68 | # echo "Run, Build Application using script" 69 | # ./location_of_script_within_repo/buildscript.sh 70 | 71 | - name: Perform CodeQL Analysis 72 | uses: github/codeql-action/analyze@v3 73 | with: 74 | category: "/language:${{matrix.language}}" 75 | -------------------------------------------------------------------------------- /.github/workflows/sync-release-version.yml: -------------------------------------------------------------------------------- 1 | name: Update release version. 2 | on: 3 | release: 4 | types: [published] 5 | 6 | 7 | jobs: 8 | update-version: 9 | runs-on: ubuntu-latest 10 | steps: 11 | - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 12 | with: 13 | fetch-depth: 0 14 | - name: Run release-tagger 15 | uses: tj-actions/release-tagger@v4 16 | - name: Sync release version. 17 | uses: tj-actions/sync-release-version@v13 18 | id: sync-release-version 19 | with: 20 | pattern: '${{ github.repository }}@' 21 | only_major: true 22 | paths: | 23 | README.md 24 | - name: Run git-cliff 25 | uses: tj-actions/git-cliff@v1 26 | - name: Create Pull Request 27 | uses: peter-evans/create-pull-request@v6.0.5 28 | with: 29 | base: "main" 30 | labels: "merge when passing" 31 | title: "Upgraded to ${{ steps.sync-release-version.outputs.new_version }}" 32 | branch: "upgrade-to-${{ steps.sync-release-version.outputs.new_version }}" 33 | commit-message: "Upgraded from ${{ steps.sync-release-version.outputs.old_version }} -> ${{ steps.sync-release-version.outputs.new_version }}" 34 | body: "View [CHANGES](https://github.com/${{ github.repository }}/compare/${{ steps.sync-release-version.outputs.old_version }}...${{ steps.sync-release-version.outputs.new_version }})" 35 | token: ${{ secrets.PAT_TOKEN }} 36 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | pull_request: 8 | branches: 9 | - main 10 | 11 | jobs: 12 | test: 13 | runs-on: ${{ matrix.platform }} 14 | strategy: 15 | fail-fast: false 16 | matrix: 17 | platform: [ubuntu-latest, windows-latest, macos-latest] 18 | 19 | name: Test coverage-badge-go 20 | steps: 21 | - name: Checkout 22 | uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 23 | with: 24 | fetch-depth: 0 25 | persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token. 26 | 27 | - name: golangci-lint 28 | uses: reviewdog/action-golangci-lint@v2 29 | with: 30 | workdir: test 31 | go_version_file: 'test/go.mod' 32 | 33 | - name: Setup go 34 | uses: actions/setup-go@v5 35 | with: 36 | go-version-file: 'test/go.mod' 37 | cache: false 38 | 39 | - name: Run Test 40 | run: 41 | make test 42 | working-directory: test 43 | 44 | - name: Run coverage-badge-go 45 | uses: ./ 46 | with: 47 | filename: test/coverage.out 48 | link: ${{ github.server_url }}/${{ github.repository }}/actions/workflows/test.yml 49 | 50 | - name: Verify Changed files 51 | uses: tj-actions/verify-changed-files@v19 52 | id: verify-changed-files 53 | with: 54 | files: README.md 55 | 56 | - name: README.md changed 57 | if: steps.verify-changed-files.outputs.files_changed == 'true' && github.event_name != 'pull_request' && runner.os == 'Linux' 58 | run: | 59 | echo "README.md has uncommited changes" 60 | exit 1 61 | 62 | - name: Create Pull Request 63 | if: failure() && github.event_name != 'pull_request' && runner.os == 'Linux' 64 | uses: peter-evans/create-pull-request@v6 65 | with: 66 | base: "main" 67 | title: "chore: updated coverage badge" 68 | branch: "chore/update-coverage" 69 | commit-message: "chore: updated coverage badge" 70 | body: "updated coverage badge" 71 | token: ${{ secrets.PAT_TOKEN }} 72 | -------------------------------------------------------------------------------- /.github/workflows/update-readme.yml: -------------------------------------------------------------------------------- 1 | name: Format README.md 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | 8 | jobs: 9 | sync-assets: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 13 | with: 14 | fetch-depth: 0 15 | 16 | - name: Run auto-doc 17 | uses: tj-actions/auto-doc@v3 18 | with: 19 | use_code_blocks: true 20 | use_major_version: true 21 | 22 | - name: Run remark 23 | uses: tj-actions/remark@v3 24 | 25 | - name: Verify Changed files 26 | uses: tj-actions/verify-changed-files@v19 27 | id: verify_changed_files 28 | with: 29 | files: | 30 | README.md 31 | 32 | - name: README.md changed 33 | if: steps.verify_changed_files.outputs.files_changed == 'true' 34 | run: | 35 | echo "README.md has uncommitted changes" 36 | exit 1 37 | 38 | - name: Create Pull Request 39 | if: failure() 40 | uses: peter-evans/create-pull-request@v6 41 | with: 42 | base: "main" 43 | labels: "merge when passing" 44 | title: "Updated README.md" 45 | branch: "chore/update-readme" 46 | commit-message: "Updated README.md" 47 | body: "Updated README.md" 48 | token: ${{ secrets.PAT_TOKEN }} 49 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Crash log files 2 | crash.log 3 | 4 | # Pycharm 5 | .idea/ 6 | .DS_Store 7 | 8 | # Direnv 9 | .envrc 10 | 11 | # Binaries for programs and plugins 12 | *.exe 13 | *.exe~ 14 | *.dll 15 | *.so 16 | *.dylib 17 | 18 | # Test binary, built with `go test -c` 19 | *.test 20 | 21 | # Test output files 22 | test.json 23 | 24 | # Output of the go coverage tool, specifically when used with LiteIDE 25 | *.out 26 | 27 | # Dependency directories (remove the comment below to include it) 28 | vendor/ 29 | 30 | dist/ 31 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tj-actions/coverage-badge-go/1461b6d889fa90a2475fd50b7a7683889ec74e76/CONTRIBUTING.md -------------------------------------------------------------------------------- /HISTORY.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | # [2.4.2](https://github.com/tj-actions/coverage-badge-go/compare/v2.4.1...v2.4.2) - (2024-02-01) 4 | 5 | ## 📦 Bumps 6 | 7 | - Bump actions/checkout from 4.1.0 to 4.1.1 8 | 9 | Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1. 10 | - [Release notes](https://github.com/actions/checkout/releases) 11 | - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) 12 | - [Commits](https://github.com/actions/checkout/compare/8ade135a41bc03ea155e62e844d188df1ea18608...b4ffde65f46336ab88eb53be808477a3936bae11) 13 | 14 | --- 15 | updated-dependencies: 16 | - dependency-name: actions/checkout 17 | dependency-type: direct:production 18 | update-type: version-update:semver-patch 19 | ... 20 | 21 | Signed-off-by: dependabot[bot] ([b80d2ec](https://github.com/tj-actions/coverage-badge-go/commit/b80d2ec4f68837cbda10ec5098731f2a93dbe1f9)) - (dependabot[bot]) 22 | 23 | ## ➖ Remove 24 | 25 | - Deleted .github/workflows/auto-approve.yml ([1d5f55e](https://github.com/tj-actions/coverage-badge-go/commit/1d5f55ea69e09872b7d50fb9b3967c157fa74521)) - (Tonye Jack) 26 | - Deleted .github/workflows/greetings.yml ([f29d6b9](https://github.com/tj-actions/coverage-badge-go/commit/f29d6b9cb0f601fad8ef92026a3da939368c80ba)) - (Tonye Jack) 27 | - Deleted .github/ISSUE_TEMPLATE/feature_request.yaml ([5d7def8](https://github.com/tj-actions/coverage-badge-go/commit/5d7def85810fc32652c9380b2eff9a1c3138473e)) - (Tonye Jack) 28 | - Deleted .github/ISSUE_TEMPLATE/bug_report.yaml ([64e64a5](https://github.com/tj-actions/coverage-badge-go/commit/64e64a5c8f8d753b8b88f952f1635c438f18483e)) - (Tonye Jack) 29 | - Deleted .github/FUNDING.yml ([6d69c1a](https://github.com/tj-actions/coverage-badge-go/commit/6d69c1ab1ede11e90e47bad43daa142a18e813ee)) - (Tonye Jack) 30 | 31 | ## 🔄 Update 32 | 33 | - Update README.md ([84540b9](https://github.com/tj-actions/coverage-badge-go/commit/84540b9f82b4f569ac9f248cf6f2893ac3cc4791)) - (Tonye Jack) 34 | - Updated README.md 35 | ([ebeedf3](https://github.com/tj-actions/coverage-badge-go/commit/ebeedf3c9b3a7bf9d3d6e1abd79268c850c274f2)) - (jackton1) 36 | - Update update-readme.yml ([4fd7524](https://github.com/tj-actions/coverage-badge-go/commit/4fd7524719a4cdcd34e035218dad4243acbe1c82)) - (Tonye Jack) 37 | - Update README.md ([52750ec](https://github.com/tj-actions/coverage-badge-go/commit/52750ec3a1b0b8a8724428603d204593c00a7c1c)) - (Tonye Jack) 38 | - Update test.yml ([8709f4a](https://github.com/tj-actions/coverage-badge-go/commit/8709f4ae8dcc8d2580b82da8bb0232c38dff3be3)) - (Tonye Jack) 39 | - Update README.md ([95adf2f](https://github.com/tj-actions/coverage-badge-go/commit/95adf2fe96deff5564899c0f45ebafeec372ae3e)) - (Tonye Jack) 40 | - Update README.md ([aaaed0a](https://github.com/tj-actions/coverage-badge-go/commit/aaaed0a0aadfa8d46c0fc49e4732c5b4faa9ae8b)) - (Tonye Jack) 41 | - Updated README.md 42 | ([7c2aef4](https://github.com/tj-actions/coverage-badge-go/commit/7c2aef4d7a3311093df5018031569129dfe3688d)) - (repo-ranger[bot]) 43 | - Updated .github/FUNDING.yml ([8d213f5](https://github.com/tj-actions/coverage-badge-go/commit/8d213f589d52516673f96ff2c0f747d58c37d392)) - (Tonye Jack) 44 | - Updated .github/FUNDING.yml ([2d8f826](https://github.com/tj-actions/coverage-badge-go/commit/2d8f8263c78d14cf119986f454e2c460069ec1c8)) - (Tonye Jack) 45 | - Updated README.md ([#129](https://github.com/tj-actions/coverage-badge-go/issues/129)) 46 | 47 | Co-authored-by: jackton1 ([5c957b0](https://github.com/tj-actions/coverage-badge-go/commit/5c957b04cb7e09da191114c9a031833aa46ffcbe)) - (tj-actions[bot]) 48 | - Update README.md ([440ae04](https://github.com/tj-actions/coverage-badge-go/commit/440ae04542dfb54ca6e1c04a7a85117e174aeb51)) - (Tonye Jack) 49 | - Updated README.md 50 | ([c7066ff](https://github.com/tj-actions/coverage-badge-go/commit/c7066ffd4ed7cb492a110623861c90c563092f1b)) - (repo-ranger[bot]) 51 | 52 | ## 📝 Other 53 | 54 | - PR [#141](https://github.com/tj-actions/coverage-badge-go/pull/141): update peter-evans/create-pull-request action to v6 ([6fba90f](https://github.com/tj-actions/coverage-badge-go/commit/6fba90f38cdcfbd4f4957baa010cac7a66b87380)) - (repo-ranger[bot]) 55 | - PR [#140](https://github.com/tj-actions/coverage-badge-go/pull/140): update tj-actions/verify-changed-files action to v17 ([800997e](https://github.com/tj-actions/coverage-badge-go/commit/800997e3cb641451117f2deffaa187fb19bd10e7)) - (repo-ranger[bot]) 56 | - PR [#139](https://github.com/tj-actions/coverage-badge-go/pull/139): update github/codeql-action action to v3 ([f82a49d](https://github.com/tj-actions/coverage-badge-go/commit/f82a49d0ad0f5294b19f56ca6eeb56b441680314)) - (repo-ranger[bot]) 57 | - PR [#138](https://github.com/tj-actions/coverage-badge-go/pull/138): update actions/setup-go action to v5 ([eb4c589](https://github.com/tj-actions/coverage-badge-go/commit/eb4c589d2f414fffe45ff0b90b9ef8dd2750e16d)) - (repo-ranger[bot]) 58 | - PR [#137](https://github.com/tj-actions/coverage-badge-go/pull/137): README.md ([5bc013c](https://github.com/tj-actions/coverage-badge-go/commit/5bc013c23cd08383111fec8f454b121e34ccbf9f)) - (repo-ranger[bot]) 59 | - PR [#136](https://github.com/tj-actions/coverage-badge-go/pull/136): update test.yml ([6faef64](https://github.com/tj-actions/coverage-badge-go/commit/6faef64add8a233302afb6da61bd50c7266c6049)) - (repo-ranger[bot]) 60 | - Merge branch 'main' into chore-update-test.yml ([a91901f](https://github.com/tj-actions/coverage-badge-go/commit/a91901f9a3017b02b17fdda936456703cd6aa115)) - (repo-ranger[bot]) 61 | - PR [#135](https://github.com/tj-actions/coverage-badge-go/pull/135): actions/checkout from 4.1.0 to 4.1.1 ([76dc04a](https://github.com/tj-actions/coverage-badge-go/commit/76dc04a52b744cd546380f1fa0c66e105c8bcf26)) - (repo-ranger[bot]) 62 | - PR [#134](https://github.com/tj-actions/coverage-badge-go/pull/134): update actions/checkout digest to 8ade135 ([8a8f324](https://github.com/tj-actions/coverage-badge-go/commit/8a8f32406682db46e35d6f80cdbc4fbcbbb351e1)) - (repo-ranger[bot]) 63 | - PR [#133](https://github.com/tj-actions/coverage-badge-go/pull/133): update actions/checkout action to v4 ([f60c34f](https://github.com/tj-actions/coverage-badge-go/commit/f60c34f164729742ff7164c5643e36e80d5dffc7)) - (repo-ranger[bot]) 64 | - PR [#132](https://github.com/tj-actions/coverage-badge-go/pull/132): update tj-actions/release-tagger action to v4 ([eff6d0d](https://github.com/tj-actions/coverage-badge-go/commit/eff6d0d496f3bcf502e474ae2196d33ee3a3e44d)) - (repo-ranger[bot]) 65 | - PR [#131](https://github.com/tj-actions/coverage-badge-go/pull/131): README.md ([8bb89f6](https://github.com/tj-actions/coverage-badge-go/commit/8bb89f611184c82dc974b648f0ebcf6ccd63c430)) - (repo-ranger[bot]) 66 | - PR [#130](https://github.com/tj-actions/coverage-badge-go/pull/130): update tj-actions/auto-doc action to v3 ([449619f](https://github.com/tj-actions/coverage-badge-go/commit/449619f0329789ed58838c6b862eea53c9fad8d0)) - (repo-ranger[bot]) 67 | - PR [#128](https://github.com/tj-actions/coverage-badge-go/pull/128): README.md ([77e795f](https://github.com/tj-actions/coverage-badge-go/commit/77e795f6cb88ebd55112cd5fa4d1b8c20f73511f)) - (repo-ranger[bot]) 68 | - PR [#127](https://github.com/tj-actions/coverage-badge-go/pull/127): to v2.4.1 ([11826ab](https://github.com/tj-actions/coverage-badge-go/commit/11826ab246b409f504ff5ad215dfa74608e6a1d1)) - (repo-ranger[bot]) 69 | 70 | ## ⚙️ Miscellaneous Tasks 71 | 72 | - **deps:** Update peter-evans/create-pull-request action to v6 ([e4e6423](https://github.com/tj-actions/coverage-badge-go/commit/e4e64236ccbc4e710d8069025a9fb6f3ba87e2b1)) - (renovate[bot]) 73 | - **deps:** Update tj-actions/verify-changed-files action to v17 ([8a71804](https://github.com/tj-actions/coverage-badge-go/commit/8a71804d180feb505d7f7ff8a5027ce1482f10b2)) - (renovate[bot]) 74 | - **deps:** Update github/codeql-action action to v3 ([b813a4d](https://github.com/tj-actions/coverage-badge-go/commit/b813a4da34a67a60470fc141cf601c7533b41951)) - (renovate[bot]) 75 | - **deps:** Update actions/setup-go action to v5 ([388e458](https://github.com/tj-actions/coverage-badge-go/commit/388e458d9058c2c030aeb7538807a7f7325e07e1)) - (renovate[bot]) 76 | - Update test.yml ([1282bb3](https://github.com/tj-actions/coverage-badge-go/commit/1282bb3bd545083f5246e8fc8e739176e078135d)) - (Tonye Jack) 77 | - **deps:** Update actions/checkout digest to 8ade135 ([ad0287c](https://github.com/tj-actions/coverage-badge-go/commit/ad0287c7c1eb032087fad6ea4de6398ce104662a)) - (renovate[bot]) 78 | - **deps:** Update actions/checkout action to v4 ([37458f6](https://github.com/tj-actions/coverage-badge-go/commit/37458f6d2be24bb8763db316ef577b86915f29ce)) - (renovate[bot]) 79 | - **deps:** Update tj-actions/release-tagger action to v4 ([9be4541](https://github.com/tj-actions/coverage-badge-go/commit/9be45413634d57de6700fe16e01a0963e90563ba)) - (renovate[bot]) 80 | - **deps:** Update tj-actions/auto-doc action to v3 ([51ac56e](https://github.com/tj-actions/coverage-badge-go/commit/51ac56ec1efa7b2f3efbde29e0abae11f96b0e50)) - (renovate[bot]) 81 | 82 | ## ⬆️ Upgrades 83 | 84 | - Upgraded from v2.4 -> v2.4.1 85 | ([805eac4](https://github.com/tj-actions/coverage-badge-go/commit/805eac4c1ba597288ed307abcde24ac127f10062)) - (jackton1) 86 | 87 | # [2.4.1](https://github.com/tj-actions/coverage-badge-go/compare/v2.4...v2.4.1) - (2023-08-20) 88 | 89 | ## 🐛 Bug Fixes 90 | 91 | - Add spaces between extra arguments to prevent errors ([#125](https://github.com/tj-actions/coverage-badge-go/issues/125)) ([23e9b07](https://github.com/tj-actions/coverage-badge-go/commit/23e9b076cfd84c2be5def80168d67219b69985bb)) - (Michael Donahue) 92 | 93 | ## 🔄 Update 94 | 95 | - Updated README.md 96 | ([ba2b7c1](https://github.com/tj-actions/coverage-badge-go/commit/ba2b7c1c941205ee3bc2077bb564b7d80c27bce9)) - (jackton1) 97 | 98 | ## 📚 Documentation 99 | 100 | - Add mdonahue-godaddy as a contributor for bug, and code ([#126](https://github.com/tj-actions/coverage-badge-go/issues/126)) ([ec47d34](https://github.com/tj-actions/coverage-badge-go/commit/ec47d349bdd5ea7f35c984f0e7ca815dc681a76c)) - (allcontributors[bot]) 101 | 102 | ## 📝 Other 103 | 104 | - PR [#124](https://github.com/tj-actions/coverage-badge-go/pull/124): to v2.4 ([5954584](https://github.com/tj-actions/coverage-badge-go/commit/5954584d44e65682122b946469ae43da22d9bbda)) - (repo-ranger[bot]) 105 | - PR [#123](https://github.com/tj-actions/coverage-badge-go/pull/123): README.md ([5a7c13b](https://github.com/tj-actions/coverage-badge-go/commit/5a7c13b8d06d46780b279d6a167d6b00b14fc2f2)) - (repo-ranger[bot]) 106 | - Merge branch 'main' into chore/update-readme ([39650cf](https://github.com/tj-actions/coverage-badge-go/commit/39650cf9af11062730a808108f01526ac8cac009)) - (repo-ranger[bot]) 107 | 108 | ## ⬆️ Upgrades 109 | 110 | - Upgraded from v2.3 -> v2.4 111 | ([f2ca982](https://github.com/tj-actions/coverage-badge-go/commit/f2ca9826d8b0fa11cb5657cd9d5841b389ecde43)) - (jackton1) 112 | 113 | # [2.4](https://github.com/tj-actions/coverage-badge-go/compare/v2.3...v2.4) - (2023-08-02) 114 | 115 | ## 🚀 Features 116 | 117 | - Add support for specifying a link ([#120](https://github.com/tj-actions/coverage-badge-go/issues/120)) ([602729a](https://github.com/tj-actions/coverage-badge-go/commit/602729a8131056231559831afc4abd406231c0a3)) - (Tonye Jack) 118 | 119 | ## 📦 Bumps 120 | 121 | - Bump hmarr/auto-approve-action from 2 to 3 ([#119](https://github.com/tj-actions/coverage-badge-go/issues/119)) 122 | 123 | Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from 2 to 3. 124 | - [Release notes](https://github.com/hmarr/auto-approve-action/releases) 125 | - [Commits](https://github.com/hmarr/auto-approve-action/compare/v2...v3) 126 | 127 | --- 128 | updated-dependencies: 129 | - dependency-name: hmarr/auto-approve-action 130 | dependency-type: direct:production 131 | update-type: version-update:semver-major 132 | ... 133 | 134 | Signed-off-by: dependabot[bot] 135 | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([0533d14](https://github.com/tj-actions/coverage-badge-go/commit/0533d14d8631ef6fbd1b910d62eb7d71bb9dd9c5)) - (dependabot[bot]) 136 | 137 | ## 🔄 Update 138 | 139 | - Updated README.md ([#121](https://github.com/tj-actions/coverage-badge-go/issues/121)) 140 | 141 | Co-authored-by: jackton1 ([bb7c737](https://github.com/tj-actions/coverage-badge-go/commit/bb7c737ea941ce5aac571a1a7e0b9f3f611adc9f)) - (tj-actions[bot]) 142 | - Update test.yml ([c5a67fb](https://github.com/tj-actions/coverage-badge-go/commit/c5a67fb1ade3de0d984db59a657100bdab502781)) - (Tonye Jack) 143 | - Update dependabot.yml ([173e1db](https://github.com/tj-actions/coverage-badge-go/commit/173e1dbb5bbfd8f0fbadcfadb9adeb531bbb51ef)) - (Tonye Jack) 144 | 145 | ## 📝 Other 146 | 147 | - PR [#118](https://github.com/tj-actions/coverage-badge-go/pull/118): to v2.3 ([bbb731d](https://github.com/tj-actions/coverage-badge-go/commit/bbb731dc3b89f2ef28678a85d7121f3d85c17062)) - (repo-ranger[bot]) 148 | 149 | ## ⚙️ Miscellaneous Tasks 150 | 151 | - Updated coverage badge ([#122](https://github.com/tj-actions/coverage-badge-go/issues/122)) ([497bd32](https://github.com/tj-actions/coverage-badge-go/commit/497bd321c004bde52e5f112e0a6943cf32055ee6)) - (tj-actions[bot]) 152 | 153 | ## ⬆️ Upgrades 154 | 155 | - Upgraded from v2.2 -> v2.3 156 | ([aa07fa4](https://github.com/tj-actions/coverage-badge-go/commit/aa07fa470d482b4546089a43005d9c429ff695ea)) - (jackton1) 157 | 158 | # [2.3](https://github.com/tj-actions/coverage-badge-go/compare/v2.2...v2.3) - (2023-07-05) 159 | 160 | ## ➕ Add 161 | 162 | - Create dependabot.yml ([442a4d8](https://github.com/tj-actions/coverage-badge-go/commit/442a4d8087468eab663cf40e6bf89b5ccbc9f0b0)) - (Tonye Jack) 163 | - Create FUNDING.yml ([5f51ccf](https://github.com/tj-actions/coverage-badge-go/commit/5f51ccfaa2a9a9ab8ade604d5bca40535526caf0)) - (Tonye Jack) 164 | 165 | ## ➖ Remove 166 | 167 | - Deleted .github/workflows/auto-merge.yml ([1c23fb0](https://github.com/tj-actions/coverage-badge-go/commit/1c23fb01107b539eca85e0a5683e6c3ab51069cb)) - (Tonye Jack) 168 | 169 | ## 🔄 Update 170 | 171 | - Updated renovate.json ([95aecc4](https://github.com/tj-actions/coverage-badge-go/commit/95aecc4a359f9a7c8bde5f79312443ecf2af9a24)) - (Tonye Jack) 172 | - Updated README.md 173 | ([a7efa98](https://github.com/tj-actions/coverage-badge-go/commit/a7efa98726c32d13af57183b540a66000827f8f9)) - (jackton1) 174 | - Updated README.md 175 | ([dcb3c37](https://github.com/tj-actions/coverage-badge-go/commit/dcb3c37ad5916ebcb8cccd1b385516b791c07381)) - (jackton1) 176 | 177 | ## 📝 Other 178 | 179 | - PR [#114](https://github.com/tj-actions/coverage-badge-go/pull/114): README.md ([5f8f005](https://github.com/tj-actions/coverage-badge-go/commit/5f8f00560aa967631385a54811c1745ca623309d)) - (repo-ranger[bot]) 180 | - PR [#112](https://github.com/tj-actions/coverage-badge-go/pull/112): README.md ([f375af6](https://github.com/tj-actions/coverage-badge-go/commit/f375af696b96d6096482148cc77e9ce8384f34e5)) - (Tonye Jack) 181 | - PR [#110](https://github.com/tj-actions/coverage-badge-go/pull/110): to v2.2 ([92a7dcd](https://github.com/tj-actions/coverage-badge-go/commit/92a7dcd6ff7aaa676c2f9e4d77f86ec49a2fe3c6)) - (repo-ranger[bot]) 182 | 183 | ## ⚙️ Miscellaneous Tasks 184 | 185 | - **deps:** Update tj-actions/verify-changed-files action to v16 ([382a4ba](https://github.com/tj-actions/coverage-badge-go/commit/382a4ba501477b680a724eb8c1f08b68d19f6a66)) - (renovate[bot]) 186 | - **deps:** Update peter-evans/create-pull-request action to v5.0.2 ([78d1d9a](https://github.com/tj-actions/coverage-badge-go/commit/78d1d9a64945d652cc819980ae2d0434f9ba17bf)) - (renovate[bot]) 187 | - **deps:** Update tj-actions/verify-changed-files action to v15 ([c619e31](https://github.com/tj-actions/coverage-badge-go/commit/c619e31c67fab4434c637d5ee9ffd697e4afd7fe)) - (renovate[bot]) 188 | - Update readme ([#113](https://github.com/tj-actions/coverage-badge-go/issues/113)) ([6749355](https://github.com/tj-actions/coverage-badge-go/commit/6749355f12f5fe110c5ee6c0fbd4863250e68bf4)) - (Tonye Jack) 189 | - **deps:** Update peter-evans/create-pull-request action to v5.0.1 ([68133dc](https://github.com/tj-actions/coverage-badge-go/commit/68133dc829fcdc3ef68b08fb95dbf2c17c7cfee7)) - (renovate[bot]) 190 | 191 | ## ⬆️ Upgrades 192 | 193 | - Upgraded from v2.1 -> v2.2 194 | ([0106ba2](https://github.com/tj-actions/coverage-badge-go/commit/0106ba2aff32144de72f52ce87707561ad463e48)) - (jackton1) 195 | 196 | # [2.2](https://github.com/tj-actions/coverage-badge-go/compare/v2.1...v2.2) - (2023-04-09) 197 | 198 | ## ➕ Add 199 | 200 | - Create codeql.yml ([c53e1e5](https://github.com/tj-actions/coverage-badge-go/commit/c53e1e52cc74270762d778081adc964c83e824ef)) - (Tonye Jack) 201 | 202 | ## 🔄 Update 203 | 204 | - Update peter-evans/create-pull-request action to v5 ([a141df7](https://github.com/tj-actions/coverage-badge-go/commit/a141df7a3b39116506780047ee99a4e8c4d13588)) - (renovate[bot]) 205 | - Update tj-actions/verify-changed-files action to v14 ([493112b](https://github.com/tj-actions/coverage-badge-go/commit/493112b866bca652da84c2cca05a1e1d8e89fbeb)) - (renovate[bot]) 206 | - Update actions/setup-go action to v4 ([7de3902](https://github.com/tj-actions/coverage-badge-go/commit/7de3902cf040afe05f279ddcbca15b4287cb2924)) - (renovate[bot]) 207 | - Update peter-evans/create-pull-request action to v4.2.4 ([dc8b0f1](https://github.com/tj-actions/coverage-badge-go/commit/dc8b0f161cf2fb63cf75bea8a2f7c613a08e41c6)) - (renovate[bot]) 208 | - Update tj-actions/release-tagger action to v3 ([fafd5cf](https://github.com/tj-actions/coverage-badge-go/commit/fafd5cfb97c971118d5bbdcb32516d45cde19aad)) - (renovate[bot]) 209 | - Update tj-actions/github-changelog-generator action to v1.18 ([135a596](https://github.com/tj-actions/coverage-badge-go/commit/135a59628c7cab12ca5281f73b311b4573f3851c)) - (renovate[bot]) 210 | - Update tj-actions/auto-doc action to v2 ([3f059aa](https://github.com/tj-actions/coverage-badge-go/commit/3f059aa01ad6273c014f3b5ae8e3ed527b58a412)) - (renovate[bot]) 211 | - Update codacy/codacy-analysis-cli-action action to v4.3.0 ([f642e89](https://github.com/tj-actions/coverage-badge-go/commit/f642e89dce95ccbeec6fe5198e9a3a523a49e96d)) - (renovate[bot]) 212 | - Update pascalgn/automerge-action action to v0.15.6 ([e376355](https://github.com/tj-actions/coverage-badge-go/commit/e376355a5c810692c63fc7e84c35ff14f2c4c05e)) - (renovate[bot]) 213 | - Update tj-actions/verify-changed-files action to v13 ([bfa26c1](https://github.com/tj-actions/coverage-badge-go/commit/bfa26c1e269dfdf1eaefc41a96f20c4ce1b325e4)) - (renovate[bot]) 214 | - Updated .github/workflows/update-readme.yml ([8207144](https://github.com/tj-actions/coverage-badge-go/commit/8207144e567740ccd4b0c2518e19d08168153762)) - (Tonye Jack) 215 | - Updated .github/workflows/update-readme.yml ([e574f55](https://github.com/tj-actions/coverage-badge-go/commit/e574f55b0963e87b70364f62397cd654ecb0c52f)) - (Tonye Jack) 216 | - Updated .github/workflows/update-readme.yml ([e75964a](https://github.com/tj-actions/coverage-badge-go/commit/e75964aa50c7ec9d4fd708856a286553dcc46115)) - (Tonye Jack) 217 | - Updated .github/workflows/update-readme.yml ([f7862af](https://github.com/tj-actions/coverage-badge-go/commit/f7862af4ff44c048e926c947930afc395c1a32fb)) - (Tonye Jack) 218 | - Update actions/checkout action to v3.3.0 ([f7fe9bb](https://github.com/tj-actions/coverage-badge-go/commit/f7fe9bb7a121e4f32f551be868024570848bfa3a)) - (renovate[bot]) 219 | - Update tj-actions/auto-doc action to v1.7.3 ([a0fcff4](https://github.com/tj-actions/coverage-badge-go/commit/a0fcff44bf207b46818769900e4df5df486a8c56)) - (renovate[bot]) 220 | - Update tj-actions/auto-doc action to v1.7.2 ([acfd364](https://github.com/tj-actions/coverage-badge-go/commit/acfd3649ed4302795f16fc08f059e0c077198fcd)) - (renovate[bot]) 221 | - Updated README.md 222 | ([78ab314](https://github.com/tj-actions/coverage-badge-go/commit/78ab314e415bd5188aafdbd060adb7bd00ff5a6a)) - (jackton1) 223 | - Updated .github/workflows/update-readme.yml ([6fa2c62](https://github.com/tj-actions/coverage-badge-go/commit/6fa2c6205584ada97a37f0b2f72c6febdb5a7748)) - (Tonye Jack) 224 | - Updated README.md 225 | ([6ec3e6c](https://github.com/tj-actions/coverage-badge-go/commit/6ec3e6cedbaf42edddd658962029b203f0c6a934)) - (jackton1) 226 | - Update tj-actions/auto-doc action to v1.7.1 ([b0625cf](https://github.com/tj-actions/coverage-badge-go/commit/b0625cfadad7baa5e44c4fad2bc6f508973a1aae)) - (renovate[bot]) 227 | - Update tj-actions/github-changelog-generator action to v1.17 ([03af34d](https://github.com/tj-actions/coverage-badge-go/commit/03af34dc2dbb3f165e859a56867a226207f4a46a)) - (renovate[bot]) 228 | - Updated README.md 229 | ([87fc1a1](https://github.com/tj-actions/coverage-badge-go/commit/87fc1a1003bed7d5cf045b811d09f3b53160a9a4)) - (jackton1) 230 | - Update update-readme.yml ([a8dd969](https://github.com/tj-actions/coverage-badge-go/commit/a8dd9695022332a528c969459b67fc9850830427)) - (Tonye Jack) 231 | - Update test.yml ([9016cac](https://github.com/tj-actions/coverage-badge-go/commit/9016cacdcd26576fd1909839382160d3aabf223f)) - (Tonye Jack) 232 | - Update tj-actions/verify-changed-files action to v13 ([f8e8651](https://github.com/tj-actions/coverage-badge-go/commit/f8e8651359616ab3c03a27dccad4241f48caa42d)) - (renovate[bot]) 233 | - Update tj-actions/auto-doc action to v1.6.0 ([7b92305](https://github.com/tj-actions/coverage-badge-go/commit/7b9230509bcdd25f58e056bfd9267f00a387203a)) - (renovate[bot]) 234 | - Update cirrus-actions/rebase action to v1.8 ([963e304](https://github.com/tj-actions/coverage-badge-go/commit/963e30497463f0f6230a55217ea4d5e117760b5e)) - (renovate[bot]) 235 | - Update sync-release-version.yml ([28973b2](https://github.com/tj-actions/coverage-badge-go/commit/28973b2e03a1cd3b8cd114d1ebbd024c2951698c)) - (Tonye Jack) 236 | - Update tj-actions/auto-doc action to v1.5.0 ([144ebd4](https://github.com/tj-actions/coverage-badge-go/commit/144ebd4ccfab93a045d067b418f203756aff8893)) - (renovate[bot]) 237 | - Update peter-evans/create-pull-request action to v4.2.3 ([c447c53](https://github.com/tj-actions/coverage-badge-go/commit/c447c537f34dbe343b93bfcb5fd80d0bcb232ea4)) - (renovate[bot]) 238 | - Update peter-evans/create-pull-request action to v4.2.2 ([2a7a3a2](https://github.com/tj-actions/coverage-badge-go/commit/2a7a3a23bb894ebae625bf9a8a82d3e0cbd7df7a)) - (renovate[bot]) 239 | - Update README.md ([1ce9edf](https://github.com/tj-actions/coverage-badge-go/commit/1ce9edf86f24b779dcc4e3db246c7b5fc2c67095)) - (Tonye Jack) 240 | - Update peter-evans/create-pull-request action to v4.2.1 ([cdac6ae](https://github.com/tj-actions/coverage-badge-go/commit/cdac6ae2e673173b62cff7314022064a059d8228)) - (renovate[bot]) 241 | - Update README.md ([569ae3d](https://github.com/tj-actions/coverage-badge-go/commit/569ae3da6ed90563076c0ab19f0a8b43757c40dc)) - (Tonye Jack) 242 | - Updated README.md 243 | ([ee0e129](https://github.com/tj-actions/coverage-badge-go/commit/ee0e12952aa25606dd733d663a71d1258365e4b3)) - (jackton1) 244 | - Update tj-actions/auto-doc action to v1.4.3 ([54024d2](https://github.com/tj-actions/coverage-badge-go/commit/54024d2326427433c4d405e70c837066f66077b1)) - (renovate[bot]) 245 | - Updated .github/ISSUE_TEMPLATE/bug_report.yaml ([f68315b](https://github.com/tj-actions/coverage-badge-go/commit/f68315b804b1d5ac727ef55ad91d50cd69b013da)) - (Tonye Jack) 246 | - Update peter-evans/create-pull-request action to v4.2.0 ([33f05a0](https://github.com/tj-actions/coverage-badge-go/commit/33f05a0195f262a112e7515729f150492d89ba23)) - (renovate[bot]) 247 | - Update pascalgn/automerge-action action to v0.15.5 ([dac2720](https://github.com/tj-actions/coverage-badge-go/commit/dac272053cab9c239c9a8063e132531d58fea1c2)) - (renovate[bot]) 248 | - Update peter-evans/create-pull-request action to v4.1.4 ([f64008f](https://github.com/tj-actions/coverage-badge-go/commit/f64008ffbd74607504ebd0e5e273ff8c1dad27e8)) - (renovate[bot]) 249 | - Update tj-actions/verify-changed-files action to v12 ([1034e19](https://github.com/tj-actions/coverage-badge-go/commit/1034e19fb4aef4903c11d3cb492cb2f3b7bdb603)) - (renovate[bot]) 250 | 251 | ## 📝 Other 252 | 253 | - PR [#109](https://github.com/tj-actions/coverage-badge-go/pull/109): switch to use tj-actions/git-cliff for generating changelogs ([7f447a2](https://github.com/tj-actions/coverage-badge-go/commit/7f447a2281e6c95d57526e53b2e800dfb3c07425)) - (repo-ranger[bot]) 254 | - PR [#95](https://github.com/tj-actions/coverage-badge-go/pull/95): README.md ([992e05a](https://github.com/tj-actions/coverage-badge-go/commit/992e05aa178a67a115814dbcc2070507d420b07b)) - (repo-ranger[bot]) 255 | - PR [#94](https://github.com/tj-actions/coverage-badge-go/pull/94): README.md ([95a3861](https://github.com/tj-actions/coverage-badge-go/commit/95a3861c1fd625ca0f807066ae8ce73959d58a81)) - (repo-ranger[bot]) 256 | - PR [#91](https://github.com/tj-actions/coverage-badge-go/pull/91): README.md ([a39030e](https://github.com/tj-actions/coverage-badge-go/commit/a39030e07db14075ad34cbee36fd1cc34cc9fa43)) - (repo-ranger[bot]) 257 | - PR [#89](https://github.com/tj-actions/coverage-badge-go/pull/89): ([7461e1f](https://github.com/tj-actions/coverage-badge-go/commit/7461e1fecd96dddd1182fa9667440ac69d3715ef)) - (Tonye Jack) 258 | - PR [#90](https://github.com/tj-actions/coverage-badge-go/pull/90): ([a7663de](https://github.com/tj-actions/coverage-badge-go/commit/a7663def663d64c2d6e70c13488544e959f21664)) - (Tonye Jack) 259 | - PR [#83](https://github.com/tj-actions/coverage-badge-go/pull/83): ([7865ba5](https://github.com/tj-actions/coverage-badge-go/commit/7865ba580e58a5a269544d2fcfb77998c727d695)) - (Tonye Jack) 260 | - PR [#77](https://github.com/tj-actions/coverage-badge-go/pull/77): ([df58cda](https://github.com/tj-actions/coverage-badge-go/commit/df58cda7e5c3b32503c0545f50f6ff8c4ef896aa)) - (Tonye Jack) 261 | 262 | ## ⚙️ Miscellaneous Tasks 263 | 264 | - Switch to use tj-actions/git-cliff for generating changelogs ([efe4eb6](https://github.com/tj-actions/coverage-badge-go/commit/efe4eb6eb113dcdce6ff862bf3ab814cecf433f5)) - (Tonye Jack) 265 | 266 | ## ⬆️ Upgrades 267 | 268 | - Upgraded from v1.2 -> v2.1 269 | ([8467cc8](https://github.com/tj-actions/coverage-badge-go/commit/8467cc8b150cd59011d0018429b352ff357357bb)) - (jackton1) 270 | 271 | # [2.1](https://github.com/tj-actions/coverage-badge-go/compare/v1.2...v2.1) - (2022-10-06) 272 | 273 | ## 🚀 Features 274 | 275 | - Switch to use a temp directory ([c9c6e73](https://github.com/tj-actions/coverage-badge-go/commit/c9c6e732fca5e411b2a20ec2cb2df0e1e191f89e)) - (Tonye Jack) 276 | 277 | ## ➕ Add 278 | 279 | - Added .github/workflows/codacy-analysis.yml ([06ffb6f](https://github.com/tj-actions/coverage-badge-go/commit/06ffb6fbd0b2dde97afbed68e672996726bf52a8)) - (Tonye Jack) 280 | 281 | ## 🔄 Update 282 | 283 | - Updated .github/workflows/greetings.yml ([df2977c](https://github.com/tj-actions/coverage-badge-go/commit/df2977c319a53f11ee7c90c26a93a6d1730d451c)) - (Tonye Jack) 284 | - Update peter-evans/create-pull-request action to v4.1.3 ([ff48253](https://github.com/tj-actions/coverage-badge-go/commit/ff482533fc7d8c2b0d534244a22b4f853a8a007a)) - (renovate[bot]) 285 | - Update README.md ([741e119](https://github.com/tj-actions/coverage-badge-go/commit/741e1190393a70ed56f6b668e736ec3bb71371d2)) - (Tonye Jack) 286 | - Update README.md ([29f395f](https://github.com/tj-actions/coverage-badge-go/commit/29f395f7e5cc0a9e4f7eec4ade55587bab69ac9c)) - (Tonye Jack) 287 | - Update README.md ([1cdb2b6](https://github.com/tj-actions/coverage-badge-go/commit/1cdb2b6b7617c085b21ac2af08ee62092465ea30)) - (Tonye Jack) 288 | - Update peter-evans/create-pull-request action to v4.1.2 ([ddb6ec4](https://github.com/tj-actions/coverage-badge-go/commit/ddb6ec4fed0c40eaa61816656542e3d1e28a9865)) - (renovate[bot]) 289 | - Update codacy/codacy-analysis-cli-action action to v4.2.0 ([5393026](https://github.com/tj-actions/coverage-badge-go/commit/5393026e07259b4284a94ac37700e7fadf164df3)) - (renovate[bot]) 290 | - Updated .github/workflows/sync-release-version.yml ([19aa4a0](https://github.com/tj-actions/coverage-badge-go/commit/19aa4a0693ddf95c99dd3a935ca28d853165d9fd)) - (Tonye Jack) 291 | - Updated .github/workflows/sync-release-version.yml ([73dc28a](https://github.com/tj-actions/coverage-badge-go/commit/73dc28a3ff63b44e9636b1425a5c44c480f8d44f)) - (Tonye Jack) 292 | - Updated .github/workflows/codacy-analysis.yml ([76b1fa3](https://github.com/tj-actions/coverage-badge-go/commit/76b1fa3c814b992e879b1acd7857daa5b050132c)) - (Tonye Jack) 293 | - Updated .github/workflows/codacy-analysis.yml ([4f81536](https://github.com/tj-actions/coverage-badge-go/commit/4f81536a99284a43208e8338dbc46f5281200cb6)) - (Tonye Jack) 294 | - Updated .github/workflows/greetings.yml ([03c4f4f](https://github.com/tj-actions/coverage-badge-go/commit/03c4f4fea911043ee1107a3b0243b4c9bfea9f4f)) - (Tonye Jack) 295 | - Updated .github/ISSUE_TEMPLATE/bug_report.yaml ([1ef3214](https://github.com/tj-actions/coverage-badge-go/commit/1ef321489b5be15cc375fa185780912bc07a04ac)) - (Tonye Jack) 296 | - Updated .github/ISSUE_TEMPLATE/feature_request.yaml ([7ad9dba](https://github.com/tj-actions/coverage-badge-go/commit/7ad9dba982c93effc4961246c646d36499060d16)) - (Tonye Jack) 297 | - Updated .github/ISSUE_TEMPLATE/bug_report.yaml ([3432a01](https://github.com/tj-actions/coverage-badge-go/commit/3432a01460b5531df2704917339d1afd5478d4be)) - (Tonye Jack) 298 | - Updated .github/workflows/sync-release-version.yml ([cf0d35a](https://github.com/tj-actions/coverage-badge-go/commit/cf0d35a22540ee8fe9f478cc813f2f8b4dc897a8)) - (Tonye Jack) 299 | - Update tj-actions/sync-release-version action to v12 ([e5ac252](https://github.com/tj-actions/coverage-badge-go/commit/e5ac2523ef0742887e78cb76ba0273ea4496e78e)) - (renovate[bot]) 300 | - Update tj-actions/github-changelog-generator action to v1.15 ([055ca0a](https://github.com/tj-actions/coverage-badge-go/commit/055ca0a5e68d5f08dee364a196889e67ec182e4a)) - (renovate[bot]) 301 | - Update tj-actions/verify-changed-files action to v11 ([f51c52e](https://github.com/tj-actions/coverage-badge-go/commit/f51c52e3edec010c600d18ea5f1e4eab0c8413b4)) - (renovate[bot]) 302 | - Update tj-actions/verify-changed-files action to v11 ([63c3170](https://github.com/tj-actions/coverage-badge-go/commit/63c3170683a9594d93750902582afadc5042317c)) - (renovate[bot]) 303 | - Update tj-actions/auto-doc action to v1.4.1 ([6ccb1bd](https://github.com/tj-actions/coverage-badge-go/commit/6ccb1bddb6cdd758254f855fe72fe1fe02068a86)) - (renovate[bot]) 304 | - Update tj-actions/auto-doc action to v1.4.0 ([0b3b616](https://github.com/tj-actions/coverage-badge-go/commit/0b3b616388695d6f70dc82b1b947e571f3700769)) - (renovate[bot]) 305 | - Update action.yml ([8d41129](https://github.com/tj-actions/coverage-badge-go/commit/8d411297814bdc64d3a28515e108b8d60eca7457)) - (Tonye Jack) 306 | - Update tj-actions/verify-changed-files action to v10 ([39fd8a1](https://github.com/tj-actions/coverage-badge-go/commit/39fd8a18ef64b14e55a0e357fd4183b8242c26ac)) - (renovate[bot]) 307 | - Update tj-actions/auto-doc action to v1.3.1 ([7de4bff](https://github.com/tj-actions/coverage-badge-go/commit/7de4bffa31c4abda10dcaea0722007af60432976)) - (renovate[bot]) 308 | - Update tj-actions/auto-doc action to v1.3.0 ([19c4093](https://github.com/tj-actions/coverage-badge-go/commit/19c409307a9aa70bbbdcbd9d65c5e19cf0e614f9)) - (renovate[bot]) 309 | - Update tj-actions/github-changelog-generator action to v1.14 ([b00131d](https://github.com/tj-actions/coverage-badge-go/commit/b00131dfa2c1f0d856faec7b2f512b5e7258949b)) - (renovate[bot]) 310 | - Update tj-actions/verify-changed-files action to v10 ([61a9a09](https://github.com/tj-actions/coverage-badge-go/commit/61a9a0957cc8f51bf464862de37f3e5841cc6f29)) - (renovate[bot]) 311 | - Update tj-actions/verify-changed-files action to v9.2 312 | ([7f336a5](https://github.com/tj-actions/coverage-badge-go/commit/7f336a50122c8c339dfe6a3c8d3b71246414aed3)) - (Renovate Bot) 313 | - Update tj-actions/verify-changed-files action to v9 314 | ([8dfbf65](https://github.com/tj-actions/coverage-badge-go/commit/8dfbf655d58d58be810e175cee721bd3e6830b37)) - (Renovate Bot) 315 | - Update README.md ([409c527](https://github.com/tj-actions/coverage-badge-go/commit/409c52717bf1453e5aa68df41bbd62462980cc6c)) - (Tonye Jack) 316 | - Update tj-actions/auto-doc action to v1.2.15 317 | ([a96e73a](https://github.com/tj-actions/coverage-badge-go/commit/a96e73a691dcf18fe868e8b232c393ead680e8f4)) - (Renovate Bot) 318 | 319 | ## 📝 Other 320 | 321 | - PR [#66](https://github.com/tj-actions/coverage-badge-go/pull/66): ([cd59c60](https://github.com/tj-actions/coverage-badge-go/commit/cd59c60b79f668d1f277577179e55aaea6eaeff1)) - (Tonye Jack) 322 | - PR [#65](https://github.com/tj-actions/coverage-badge-go/pull/65): ([6dc2f28](https://github.com/tj-actions/coverage-badge-go/commit/6dc2f28275fd942c9d0a16ad3ff226b38ee0fc6e)) - (Tonye Jack) 323 | - PR [#56](https://github.com/tj-actions/coverage-badge-go/pull/56): ([fdda460](https://github.com/tj-actions/coverage-badge-go/commit/fdda4601bc141616905260576a11c8d1204d4ae9)) - (Tonye Jack) 324 | 325 | ## ⬆️ Upgrades 326 | 327 | - Upgraded from v1.2 -> v2 328 | ([2160a21](https://github.com/tj-actions/coverage-badge-go/commit/2160a213271289f41ab898d8d781c04f0c374399)) - (jackton1) 329 | - Upgraded from v1.1 -> v1.2 330 | ([5d83f5b](https://github.com/tj-actions/coverage-badge-go/commit/5d83f5b717525f1c846035b920f9e77ab53f5503)) - (jackton1) 331 | 332 | # [1.2](https://github.com/tj-actions/coverage-badge-go/compare/v1.1...v1.2) - (2022-05-12) 333 | 334 | ## ➕ Add 335 | 336 | - Added .github/workflows/greetings.yml ([993ee6b](https://github.com/tj-actions/coverage-badge-go/commit/993ee6b5bd71e624d2b90664304dbb4c6d15545f)) - (Tonye Jack) 337 | 338 | ## 🔄 Update 339 | 340 | - Update pascalgn/automerge-action action to v0.15.3 341 | ([57e0c6b](https://github.com/tj-actions/coverage-badge-go/commit/57e0c6b82e0bf6b0d486c4d8df22a51067f26fb7)) - (Renovate Bot) 342 | - Update cirrus-actions/rebase action to v1.7 343 | ([32b5a9c](https://github.com/tj-actions/coverage-badge-go/commit/32b5a9c7bdd2050f6e4e3a628f52641f322dc3b4)) - (Renovate Bot) 344 | - Update cirrus-actions/rebase action to v1.6 345 | ([a2a6c5b](https://github.com/tj-actions/coverage-badge-go/commit/a2a6c5b29cdb0e80da87a34a3c29a41c23f84c1c)) - (Renovate Bot) 346 | - Update README.md ([01eb333](https://github.com/tj-actions/coverage-badge-go/commit/01eb333e1404c63b50ca053c43a0b7800acb3904)) - (Tonye Jack) 347 | - Update README.md ([1cb7c0a](https://github.com/tj-actions/coverage-badge-go/commit/1cb7c0a88ddfb7266f200d994ca3db33fd77e48d)) - (Tonye Jack) 348 | - Update pascalgn/automerge-action action to v0.15.2 349 | ([abc1a15](https://github.com/tj-actions/coverage-badge-go/commit/abc1a15d158ab0aed2ac0ad17c5bd478fa52b32a)) - (Renovate Bot) 350 | - Update peter-evans/create-pull-request action to v4 351 | ([bd8313b](https://github.com/tj-actions/coverage-badge-go/commit/bd8313b4fef67a551825f80cc8b866cec199f455)) - (Renovate Bot) 352 | - Update test.yml ([4084c19](https://github.com/tj-actions/coverage-badge-go/commit/4084c19896599e6e28dde23f367fd8a2a0bd1ef9)) - (Tonye Jack) 353 | - Update actions/cache action to v3 354 | ([0c9272b](https://github.com/tj-actions/coverage-badge-go/commit/0c9272b7371dcc7dd7ba34a604a6293b7cf6b84e)) - (Renovate Bot) 355 | - Update tj-actions/auto-doc action to v1.2.14 356 | ([a3178e9](https://github.com/tj-actions/coverage-badge-go/commit/a3178e9486fa5e781c3d70c2c6a028c741dc8c63)) - (Renovate Bot) 357 | - Update tj-actions/github-changelog-generator action to v1.13 358 | ([1179fdd](https://github.com/tj-actions/coverage-badge-go/commit/1179fddc4e43e89243f134390eb1b778ae4e6723)) - (Renovate Bot) 359 | - Update tj-actions/verify-changed-files action to v9 360 | ([cb0e13f](https://github.com/tj-actions/coverage-badge-go/commit/cb0e13f2c7b4408f3705a74eec4e58c77cc73cf7)) - (Renovate Bot) 361 | - Update README.md ([0621512](https://github.com/tj-actions/coverage-badge-go/commit/0621512ac7f90eaf798ff3facd1b6c81be9dce6d)) - (Tonye Jack) 362 | - Update actions/checkout action to v3 363 | ([20f166f](https://github.com/tj-actions/coverage-badge-go/commit/20f166f08f666c9ef8c814da14cf25a37f9e4948)) - (Renovate Bot) 364 | - Update actions/setup-go action to v3 365 | ([ef8c9bf](https://github.com/tj-actions/coverage-badge-go/commit/ef8c9bf0f7ab44cf7f871462bb3ef2891a6ad730)) - (Renovate Bot) 366 | - Update README.md ([dbf1b72](https://github.com/tj-actions/coverage-badge-go/commit/dbf1b728680c859299989ae508dbe6c5d97b6bf3)) - (Tonye Jack) 367 | - Update tj-actions/github-changelog-generator action to v1.12 368 | ([5899bf2](https://github.com/tj-actions/coverage-badge-go/commit/5899bf2b1bdf6ef0f0ddf6478903c60003f64a15)) - (Renovate Bot) 369 | - Update tj-actions/sync-release-version action to v11 370 | ([62e548d](https://github.com/tj-actions/coverage-badge-go/commit/62e548d970747bd95c6a576aaa8aebc69a17d075)) - (Renovate Bot) 371 | - Updated .github/workflows/greetings.yml ([739f9a8](https://github.com/tj-actions/coverage-badge-go/commit/739f9a8aa615d738da7249305d070f92ca7e5b45)) - (Tonye Jack) 372 | - Update README.md ([5549a79](https://github.com/tj-actions/coverage-badge-go/commit/5549a7951c57b01a82762a87aa7a9f6baae13375)) - (Tonye Jack) 373 | - Update README.md ([feacdb6](https://github.com/tj-actions/coverage-badge-go/commit/feacdb664f5c5d5b919dc19886b4f87a4326da85)) - (Tonye Jack) 374 | - Update README.md ([e39d3fc](https://github.com/tj-actions/coverage-badge-go/commit/e39d3fca59ac144dda494a370dfcb791896030d8)) - (Tonye Jack) 375 | - Update tj-actions/auto-doc action to v1.2.13 376 | ([fa7fa04](https://github.com/tj-actions/coverage-badge-go/commit/fa7fa04ea82b965d2601bde5244c98702e758c6b)) - (Renovate Bot) 377 | - Updated README.md 378 | ([f4961cf](https://github.com/tj-actions/coverage-badge-go/commit/f4961cf6137641b420b32bcca11009dd4c7ddcf6)) - (jackton1) 379 | - Update tj-actions/auto-doc action to v1.2.11 380 | ([c54538b](https://github.com/tj-actions/coverage-badge-go/commit/c54538b1fd59f5a78309bb0639a3216ef35f5a5d)) - (Renovate Bot) 381 | - Updated README.md 382 | ([ce44a18](https://github.com/tj-actions/coverage-badge-go/commit/ce44a18e2f17fe20afae47665f680a58870ee440)) - (jackton1) 383 | - Update action.yml ([58e328d](https://github.com/tj-actions/coverage-badge-go/commit/58e328d1f6b306252a4f59e14d09e6e72e214560)) - (Tonye Jack) 384 | - Update README.md ([99624e9](https://github.com/tj-actions/coverage-badge-go/commit/99624e9e2d5a1517c32b7b6b62c6824765d4b214)) - (Tonye Jack) 385 | - Updated README.md 386 | ([f06d4ae](https://github.com/tj-actions/coverage-badge-go/commit/f06d4ae536b0a02e5be7516ce3ec1e2b8194bb3c)) - (jackton1) 387 | - Update README.md ([d47d830](https://github.com/tj-actions/coverage-badge-go/commit/d47d83047d813bea64a09a5638409e9b8da1edb8)) - (Tonye Jack) 388 | - Update update-readme.yml ([eaad8a8](https://github.com/tj-actions/coverage-badge-go/commit/eaad8a8183ff2e29713c7aac4f8e582d228262cc)) - (Tonye Jack) 389 | - Update action.yml ([4200e57](https://github.com/tj-actions/coverage-badge-go/commit/4200e57e5bfc7af896d6fd106c3898979727b85c)) - (Tonye Jack) 390 | 391 | ## 📝 Other 392 | 393 | - PR [#40](https://github.com/tj-actions/coverage-badge-go/pull/40): fix usage of incorrect action id ([8334360](https://github.com/tj-actions/coverage-badge-go/commit/8334360ab5a8fe6000de255a0803b1018a69784c)) - (Tonye Jack) 394 | - PR [#37](https://github.com/tj-actions/coverage-badge-go/pull/37): README.md ([ba92ffa](https://github.com/tj-actions/coverage-badge-go/commit/ba92ffa8942d922b9e2c2542a794accffe4ce8e3)) - (Tonye Jack) 395 | - PR [#35](https://github.com/tj-actions/coverage-badge-go/pull/35): README.md ([82cb3d7](https://github.com/tj-actions/coverage-badge-go/commit/82cb3d71242d61a5832feb1ebe79a6ac890dc030)) - (Tonye Jack) 396 | - PR [#34](https://github.com/tj-actions/coverage-badge-go/pull/34): README.md ([0a76e9f](https://github.com/tj-actions/coverage-badge-go/commit/0a76e9f80a96db0d18946f14526916b3a6d81870)) - (Tonye Jack) 397 | - PR [#33](https://github.com/tj-actions/coverage-badge-go/pull/33): to v1.1 ([c5b1d88](https://github.com/tj-actions/coverage-badge-go/commit/c5b1d885b513fabf01e68e753d79afce766acaff)) - (Tonye Jack) 398 | 399 | ## ⚙️ Miscellaneous Tasks 400 | 401 | - Fix usage of incorrect action ID ([f79c076](https://github.com/tj-actions/coverage-badge-go/commit/f79c076aec5015cf6df40e84a2cd8dbcd05f9202)) - (Tonye Jack) 402 | 403 | ## ⬆️ Upgrades 404 | 405 | - Upgraded from v1 -> v1.1 406 | ([1a990be](https://github.com/tj-actions/coverage-badge-go/commit/1a990be47ebea842483f92c72476b7a8fc63a333)) - (jackton1) 407 | 408 | # [1.1](https://github.com/tj-actions/coverage-badge-go/compare/v1...v1.1) - (2022-01-23) 409 | 410 | ## ➕ Add 411 | 412 | - Added .github/workflows/auto-merge.yml ([164a5cd](https://github.com/tj-actions/coverage-badge-go/commit/164a5cdf48371a0e8483fb5a335cc630edb9dcf3)) - (Tonye Jack) 413 | - Add support for all platforms ([2b4a9c2](https://github.com/tj-actions/coverage-badge-go/commit/2b4a9c2d10d20671f6c1377fc8e61672876a30df)) - (Tonye Jack) 414 | 415 | ## ➖ Remove 416 | 417 | - Remove unused outputs ([d1c54ff](https://github.com/tj-actions/coverage-badge-go/commit/d1c54ff3193316c3677db475100785116692e4ea)) - (Tonye Jack) 418 | 419 | ## 🔄 Update 420 | 421 | - Update README.md ([caa6acd](https://github.com/tj-actions/coverage-badge-go/commit/caa6acdaa3eebeb47627c6d61d00b9b20e2bb228)) - (Tonye Jack) 422 | - Update tj-actions/remark action to v2.3 423 | ([78b35c8](https://github.com/tj-actions/coverage-badge-go/commit/78b35c80c57e6340730e319573ebe3efd3d047ae)) - (Renovate Bot) 424 | - Update tj-actions/remark action to v2.2 425 | ([5eeceed](https://github.com/tj-actions/coverage-badge-go/commit/5eeceed2a6b9fcc8c2ace71c89d5053ef52d6947)) - (Renovate Bot) 426 | - Update tj-actions/remark action to v2 427 | ([f975e81](https://github.com/tj-actions/coverage-badge-go/commit/f975e817d6da931d9701604f21ec50286f7f851e)) - (Renovate Bot) 428 | - Update tj-actions/github-changelog-generator action to v1.11 429 | ([0fd79eb](https://github.com/tj-actions/coverage-badge-go/commit/0fd79eb139d57f9e65f764d239d91eaef93f9e0d)) - (Renovate Bot) 430 | - Update README.md ([49d3784](https://github.com/tj-actions/coverage-badge-go/commit/49d3784f4509ea6a7c919bf0a4aa7a64d119ffb9)) - (Tonye Jack) 431 | - Update tj-actions/github-changelog-generator action to v1.10 432 | ([fade7ba](https://github.com/tj-actions/coverage-badge-go/commit/fade7ba38b8b6b2e94c5361acf6d577f20c3ed73)) - (Renovate Bot) 433 | - Update tj-actions/verify-changed-files action to v8.8 434 | ([d988f23](https://github.com/tj-actions/coverage-badge-go/commit/d988f237b247804c7f8a12dfd771a1b4c709390d)) - (Renovate Bot) 435 | - Update tj-actions/verify-changed-files action to v8.7 436 | ([5f4aba6](https://github.com/tj-actions/coverage-badge-go/commit/5f4aba67a36894d90ec521efce7261a6f0e892d0)) - (Renovate Bot) 437 | - Update tj-actions/verify-changed-files action to v8.6 438 | ([002f1e2](https://github.com/tj-actions/coverage-badge-go/commit/002f1e237e893b4e7c6f33e9605465a71a554481)) - (Renovate Bot) 439 | - Updated README.md 440 | ([4f02f58](https://github.com/tj-actions/coverage-badge-go/commit/4f02f58da522922c9e27e48edd321aca5fec6a50)) - (renovate[bot]) 441 | - Update actions/checkout action to v2.4.0 442 | ([66007aa](https://github.com/tj-actions/coverage-badge-go/commit/66007aaec3f51693c4256d584605f9026ffef987)) - (Renovate Bot) 443 | - Update tj-actions/verify-changed-files action to v8.3 444 | ([87e8eac](https://github.com/tj-actions/coverage-badge-go/commit/87e8eac605403a9990f16f336c8d8ba3df9f1641)) - (Renovate Bot) 445 | - Update tj-actions/verify-changed-files action to v8.2 446 | ([c160995](https://github.com/tj-actions/coverage-badge-go/commit/c160995055a1bad89609aaf809060e544412b7ed)) - (Renovate Bot) 447 | - Update README.md ([31d6c16](https://github.com/tj-actions/coverage-badge-go/commit/31d6c1612bd49d09e786b62d488cfa4ff2e944a3)) - (Tonye Jack) 448 | - Update README.md ([1bfb447](https://github.com/tj-actions/coverage-badge-go/commit/1bfb44736965da02748f136a97fa9dd71d4e914a)) - (Tonye Jack) 449 | - Update README.md ([32b8337](https://github.com/tj-actions/coverage-badge-go/commit/32b83372a5b8b2f6b89e8a615aca54539edfadeb)) - (Tonye Jack) 450 | - Updated .github/ISSUE_TEMPLATE/feature_request.yaml ([77d78d5](https://github.com/tj-actions/coverage-badge-go/commit/77d78d51c1b938e1b32a2980eb6fe91f01140a10)) - (Tonye Jack) 451 | - Updated .github/ISSUE_TEMPLATE/bug_report.yaml ([d4e64a5](https://github.com/tj-actions/coverage-badge-go/commit/d4e64a5af400542eabf2178610103f3121c02d1a)) - (Tonye Jack) 452 | - Update test.yml ([cc4c0fb](https://github.com/tj-actions/coverage-badge-go/commit/cc4c0fbccb00d26d2f7a48c3675d98e9174eac13)) - (Tonye Jack) 453 | - Update README.md ([4fa0dd5](https://github.com/tj-actions/coverage-badge-go/commit/4fa0dd55315e5c81b42652c99167083458c6b210)) - (Tonye Jack) 454 | - Update test.yml ([9b5653e](https://github.com/tj-actions/coverage-badge-go/commit/9b5653e5256bdb3617feba6ea23bac198b60bb84)) - (Tonye Jack) 455 | - Updated README.md 456 | ([2cf28e1](https://github.com/tj-actions/coverage-badge-go/commit/2cf28e1412eb6d58fdebb6b6ba0eb0a48a6a38fa)) - (Tonye Jack) 457 | - Update README.md ([5a61f57](https://github.com/tj-actions/coverage-badge-go/commit/5a61f575ffc0e2aecd97077b5d211c753df3f135)) - (Tonye Jack) 458 | - Update test.yml ([62d9c3d](https://github.com/tj-actions/coverage-badge-go/commit/62d9c3d40b0bf32c2a20199db8ac93332c6f5a94)) - (Tonye Jack) 459 | - Update action.yml ([a185636](https://github.com/tj-actions/coverage-badge-go/commit/a1856364a5185e6a59af2a994e0e78eaba691f92)) - (Tonye Jack) 460 | - Update action.yml ([3d56847](https://github.com/tj-actions/coverage-badge-go/commit/3d56847c47465a6208f0d7e5346794e3a1676c1c)) - (Tonye Jack) 461 | - Update test.yml ([2a2e16b](https://github.com/tj-actions/coverage-badge-go/commit/2a2e16bc0ec99338e8a7eaed016a5fb8169c98ab)) - (Tonye Jack) 462 | - Update test.yml ([6e0eca0](https://github.com/tj-actions/coverage-badge-go/commit/6e0eca073d83ea938661e13d8385c5ce341cf883)) - (Tonye Jack) 463 | - Update README.md ([f0a0af4](https://github.com/tj-actions/coverage-badge-go/commit/f0a0af4b9131a9d4a9b51ed50bf24ecdb8306e7d)) - (Tonye Jack) 464 | - Update README.md ([59c0029](https://github.com/tj-actions/coverage-badge-go/commit/59c0029770c53fab5fc28f2994c2ca5232f90368)) - (Tonye Jack) 465 | - Update README.md ([1fe3a3e](https://github.com/tj-actions/coverage-badge-go/commit/1fe3a3ee1cc1dae858e9c6be951e163be494bf05)) - (Tonye Jack) 466 | 467 | ## 📝 Other 468 | 469 | - PR [#32](https://github.com/tj-actions/coverage-badge-go/pull/32): unused outputs ([e6fca87](https://github.com/tj-actions/coverage-badge-go/commit/e6fca876a51b4056ee48d450f7da27400321496b)) - (Tonye Jack) 470 | - PR [#23](https://github.com/tj-actions/coverage-badge-go/pull/23): ([63aafdc](https://github.com/tj-actions/coverage-badge-go/commit/63aafdca3ecc2541d12c4a354c89cdb6fe7750c5)) - (Tonye Jack) 471 | - PR [#17](https://github.com/tj-actions/coverage-badge-go/pull/17): support for all platforms ([4c1537d](https://github.com/tj-actions/coverage-badge-go/commit/4c1537d3c9979eaa7e683a1a6b8dcb571cb067e1)) - (Tonye Jack) 472 | - Merge branch 'main' into update/test 473 | ([593b426](https://github.com/tj-actions/coverage-badge-go/commit/593b426bb2d3a65f5b180ecf1c4365de363022d1)) - (Tonye Jack) 474 | - PR [#16](https://github.com/tj-actions/coverage-badge-go/pull/16): ([f8e2a05](https://github.com/tj-actions/coverage-badge-go/commit/f8e2a05ce46293f70cd4ac087b33c263c0222196)) - (Tonye Jack) 475 | 476 | ## ⬆️ Upgrades 477 | 478 | - Upgraded from v1 -> v1 479 | ([f9db7c9](https://github.com/tj-actions/coverage-badge-go/commit/f9db7c926a1ef9fe21bf7eb8bcf3d92376017f71)) - (jackton1) 480 | 481 | # [1](https://github.com/tj-actions/coverage-badge-go/tree/v1) - (2021-10-16) 482 | 483 | ## 🎉 Initial Commit 484 | 485 | - Initial commit. 486 | ([0117881](https://github.com/tj-actions/coverage-badge-go/commit/0117881900c6b8476af652a25334b42aa6e5ea67)) - (Tonye Jack) 487 | 488 | ## 🔄 Update 489 | 490 | - Update README.md ([5779f88](https://github.com/tj-actions/coverage-badge-go/commit/5779f88ebf037e06cd56d9312c9aeff696aba8ae)) - (Tonye Jack) 491 | - Update action.yml ([d236946](https://github.com/tj-actions/coverage-badge-go/commit/d236946f26240a575c53e2201b7b8da6583822a3)) - (Tonye Jack) 492 | - Update README.md ([55ad023](https://github.com/tj-actions/coverage-badge-go/commit/55ad023eabd5227469bd4a5cde15ae7d4eba46ac)) - (Tonye Jack) 493 | - Update action.yml ([ec859c1](https://github.com/tj-actions/coverage-badge-go/commit/ec859c1fef797c6446aa2946b6dcdb1acc520f9c)) - (Tonye Jack) 494 | - Update README.md ([604a72a](https://github.com/tj-actions/coverage-badge-go/commit/604a72a0c306b5dd53fee9125549bdcb02527256)) - (Tonye Jack) 495 | - Update README.md ([7835897](https://github.com/tj-actions/coverage-badge-go/commit/78358975a776cee6be060567e89dc94b0dde5427)) - (Tonye Jack) 496 | - Update README.md ([70adfe5](https://github.com/tj-actions/coverage-badge-go/commit/70adfe54f52a76dd15828ece05f38486a48bd762)) - (Tonye Jack) 497 | - Update README.md ([4a905be](https://github.com/tj-actions/coverage-badge-go/commit/4a905be4b59812eebe3bad7826c1fe4fd7d1f1ad)) - (Tonye Jack) 498 | - Updated action. 499 | ([8583739](https://github.com/tj-actions/coverage-badge-go/commit/85837395c38ddc25c90b3be227c1835c892eb7ad)) - (Tonye Jack) 500 | - Updated action. 501 | ([b5ed190](https://github.com/tj-actions/coverage-badge-go/commit/b5ed190a104e1b0df2d4ab0cfee2a1aa4de2ef42)) - (Tonye Jack) 502 | - Updated action. 503 | ([5ddba74](https://github.com/tj-actions/coverage-badge-go/commit/5ddba745a280b59b4ee2588cf36d37929330ec99)) - (Tonye Jack) 504 | - Updated action. 505 | ([356fc39](https://github.com/tj-actions/coverage-badge-go/commit/356fc39aadbcf738f2be1f9adab0c3e91e481b56)) - (Tonye Jack) 506 | - Updated action. 507 | ([998ef70](https://github.com/tj-actions/coverage-badge-go/commit/998ef70dc2db71d629b2519a1b44724996b3151a)) - (Tonye Jack) 508 | - Updated action. 509 | ([ef30223](https://github.com/tj-actions/coverage-badge-go/commit/ef3022375afef2159b609531a7a34500634b5c87)) - (Tonye Jack) 510 | - Updated action 511 | ([4189541](https://github.com/tj-actions/coverage-badge-go/commit/418954152200653233c80a9f7c74e05494c91200)) - (Tonye Jack) 512 | - Updated action 513 | ([42ad109](https://github.com/tj-actions/coverage-badge-go/commit/42ad1097d6f193e3e2fd9fff3a106553b9dde79f)) - (Tonye Jack) 514 | - Updated README.md 515 | ([18149d5](https://github.com/tj-actions/coverage-badge-go/commit/18149d5f9a92d090d4d0e4b365366497e6cc2ae9)) - (jackton1) 516 | - Update action.yml ([e8add2a](https://github.com/tj-actions/coverage-badge-go/commit/e8add2a79f2029274032cb31afe36bbce0b4c275)) - (Tonye Jack) 517 | - Updated README.md 518 | ([e9f8f73](https://github.com/tj-actions/coverage-badge-go/commit/e9f8f739fdd14328a1f3b0d54659e2fe19f605e2)) - (jackton1) 519 | - Update action.yml ([b184375](https://github.com/tj-actions/coverage-badge-go/commit/b18437564a3ccc1848b5a41c85186552569dccfa)) - (Tonye Jack) 520 | - Update README.md ([5dd20f3](https://github.com/tj-actions/coverage-badge-go/commit/5dd20f3798af8eacb7dbc6fe94def6698389420d)) - (Tonye Jack) 521 | - Update README.md ([0897eab](https://github.com/tj-actions/coverage-badge-go/commit/0897eab83bad3dec29aa451c437d060179563441)) - (Tonye Jack) 522 | - Update sync-release-version.yml ([3ca4886](https://github.com/tj-actions/coverage-badge-go/commit/3ca4886ce1827fede078d75c9ec11e7127d58558)) - (Tonye Jack) 523 | - Update Makefile ([208fb87](https://github.com/tj-actions/coverage-badge-go/commit/208fb87c4159ae4d0b7a6c128a51ac390ead9655)) - (Tonye Jack) 524 | - Update README.md ([5fb9e0b](https://github.com/tj-actions/coverage-badge-go/commit/5fb9e0bb54e709974ed9071b83b9718d50ea4ce0)) - (Tonye Jack) 525 | - Update README.md ([8911409](https://github.com/tj-actions/coverage-badge-go/commit/891140968948d807fcf8200e1a404e521af57fd8)) - (Tonye Jack) 526 | - Update README.md ([8f54064](https://github.com/tj-actions/coverage-badge-go/commit/8f540644ef181c595eeaaac7cb7914204d2c53b3)) - (Tonye Jack) 527 | - Update actions/checkout action to v2.3.5 528 | ([b15f037](https://github.com/tj-actions/coverage-badge-go/commit/b15f0374300829f3a878ea2ad9984527af6e69c5)) - (Renovate Bot) 529 | - Update tj-actions/github-changelog-generator action to v1.8 530 | ([e66c336](https://github.com/tj-actions/coverage-badge-go/commit/e66c336b63fa07611fa6361aa98ab43806305ac2)) - (Renovate Bot) 531 | - Update cirrus-actions/rebase action to v1.5 532 | ([64cc30b](https://github.com/tj-actions/coverage-badge-go/commit/64cc30bf5c3435b5bbd2fa5a297418ede3940c76)) - (Renovate Bot) 533 | - Updated renovate.json ([d971cfb](https://github.com/tj-actions/coverage-badge-go/commit/d971cfbdc984e57a48ebe1038f176f32b7467000)) - (Tonye Jack) 534 | - Updated renovate.json ([1d5f8be](https://github.com/tj-actions/coverage-badge-go/commit/1d5f8be01f9277ffda87b55436a8fddf490448be)) - (Tonye Jack) 535 | - Update README.md ([6f1665c](https://github.com/tj-actions/coverage-badge-go/commit/6f1665ce4892054fcb182a5cf7187fd3c21b3fb7)) - (Tonye Jack) 536 | - Update tj-actions/verify-changed-files action to v8 537 | ([739d1e6](https://github.com/tj-actions/coverage-badge-go/commit/739d1e605cd0eb2d0f20c05f3651b10679407c06)) - (Renovate Bot) 538 | - Update tj-actions/remark action to v1.7 539 | ([1d8341f](https://github.com/tj-actions/coverage-badge-go/commit/1d8341f38776f7d2fe91730c2ecf4fd49a265392)) - (Renovate Bot) 540 | - Updated README.md 541 | ([09cdc36](https://github.com/tj-actions/coverage-badge-go/commit/09cdc360238bcb8bf69e0dc87c7a1b9f8e49d30c)) - (jackton1) 542 | - Updated action 543 | ([b4c0659](https://github.com/tj-actions/coverage-badge-go/commit/b4c0659f10cf6861541c3732469dfaf1cce49d3f)) - (Tonye Jack) 544 | - Updated action 545 | ([19fbc6a](https://github.com/tj-actions/coverage-badge-go/commit/19fbc6a3fc3b749104039746b39a160a37b529a6)) - (Tonye Jack) 546 | - Updated action 547 | ([64ea676](https://github.com/tj-actions/coverage-badge-go/commit/64ea67627d7344845927f0e18a43cdef378abe7e)) - (Tonye Jack) 548 | - Updated branch name. 549 | ([598f6c1](https://github.com/tj-actions/coverage-badge-go/commit/598f6c10c101dbfaaa35913635178a2e0e32bfdc)) - (Tonye Jack) 550 | - Updated branch name. 551 | ([2037213](https://github.com/tj-actions/coverage-badge-go/commit/2037213f25577cd47ba188813617e79e6b452ef8)) - (Tonye Jack) 552 | - Updated action 553 | ([1a2b814](https://github.com/tj-actions/coverage-badge-go/commit/1a2b8142ede930d9b6cdf048ad5c3acd9a9824ca)) - (Tonye Jack) 554 | - Updated action 555 | ([ab66872](https://github.com/tj-actions/coverage-badge-go/commit/ab66872a1805205a4a89dd656cf0aef40dba3970)) - (Tonye Jack) 556 | - Updated action. 557 | ([78e48b4](https://github.com/tj-actions/coverage-badge-go/commit/78e48b406fabd2e91defdb9fe822b6409659e5b7)) - (Tonye Jack) 558 | - Updated action. 559 | ([62574b3](https://github.com/tj-actions/coverage-badge-go/commit/62574b32c3125a697bbf8fe42fd63608e3e7838a)) - (Tonye Jack) 560 | - Updated action. 561 | ([29809d3](https://github.com/tj-actions/coverage-badge-go/commit/29809d3e9ef52bbd7c6a69f976e61e21501c7fd4)) - (Tonye Jack) 562 | - Updated action. 563 | ([84fd06d](https://github.com/tj-actions/coverage-badge-go/commit/84fd06dc64f1ad4a931c212eaf9db98f80cd34a4)) - (Tonye Jack) 564 | - Update README.md ([96a27fc](https://github.com/tj-actions/coverage-badge-go/commit/96a27fc560ed0d0d10463cada91d9885919db0be)) - (Tonye Jack) 565 | - Updated README.md 566 | ([ebb96f2](https://github.com/tj-actions/coverage-badge-go/commit/ebb96f2d664b874bebd13f8bee24039849ea0698)) - (github-actions[bot]) 567 | - Updated test. 568 | ([4f329a7](https://github.com/tj-actions/coverage-badge-go/commit/4f329a793b847028d22dffd1fc775f26c392f410)) - (Tonye Jack) 569 | - Updated test. 570 | ([232d524](https://github.com/tj-actions/coverage-badge-go/commit/232d5246ea166f7e2bc36d7daf20bc0ca5f1c873)) - (Tonye Jack) 571 | - Update README.md ([91a2f52](https://github.com/tj-actions/coverage-badge-go/commit/91a2f52ef1ded6e9458e4653e8d784aa13826db3)) - (Tonye Jack) 572 | 573 | ## 📝 Other 574 | 575 | - PR [#14](https://github.com/tj-actions/coverage-badge-go/pull/14): updated coverage badge ([6289111](https://github.com/tj-actions/coverage-badge-go/commit/62891110c5ef48bf57865138abe925978b19952d)) - (Tonye Jack) 576 | - PR [#10](https://github.com/tj-actions/coverage-badge-go/pull/10): updated coverage Badge ([5fca284](https://github.com/tj-actions/coverage-badge-go/commit/5fca2847d1ed08c13ccf7023550d93e19b8f9254)) - (Tonye Jack) 577 | - PR [#11](https://github.com/tj-actions/coverage-badge-go/pull/11): README.md ([8ad1ee3](https://github.com/tj-actions/coverage-badge-go/commit/8ad1ee3ce74cef2b88c676c5856ce5a7c4c40ab2)) - (Tonye Jack) 578 | - PR [#9](https://github.com/tj-actions/coverage-badge-go/pull/9): to v1 ([b400d36](https://github.com/tj-actions/coverage-badge-go/commit/b400d365961f698668c008d1bd7f33d9bd052187)) - (Tonye Jack) 579 | - PR [#1](https://github.com/tj-actions/coverage-badge-go/pull/1): actions/checkout action to v2.3.5 ([b3016b7](https://github.com/tj-actions/coverage-badge-go/commit/b3016b72281f8dd9074936ab97b7a5f37b3fe8e4)) - (Tonye Jack) 580 | - PR [#2](https://github.com/tj-actions/coverage-badge-go/pull/2): cirrus-actions/rebase action to v1.5 ([a07dd6c](https://github.com/tj-actions/coverage-badge-go/commit/a07dd6c16c5761c8e76632001d605ab94c408148)) - (Tonye Jack) 581 | - PR [#3](https://github.com/tj-actions/coverage-badge-go/pull/3): tj-actions/github-changelog-generator action to v1.8 ([aef4bb2](https://github.com/tj-actions/coverage-badge-go/commit/aef4bb2127e743fe6e39d9335c70f5f7fd232d7e)) - (Tonye Jack) 582 | - PR [#4](https://github.com/tj-actions/coverage-badge-go/pull/4): tj-actions/remark action to v1.7 ([70b7ed7](https://github.com/tj-actions/coverage-badge-go/commit/70b7ed77e3975db42095216c6423eb6a9afd1be1)) - (Tonye Jack) 583 | - PR [#5](https://github.com/tj-actions/coverage-badge-go/pull/5): tj-actions/verify-changed-files action to v8 ([535c22e](https://github.com/tj-actions/coverage-badge-go/commit/535c22e9a8ad4ee123e93770f5e7291b1817dcd3)) - (Tonye Jack) 584 | - PR [#7](https://github.com/tj-actions/coverage-badge-go/pull/7): README.md ([f6543c3](https://github.com/tj-actions/coverage-badge-go/commit/f6543c31dcb5527412ce143cbf31d3761f6e639e)) - (Tonye Jack) 585 | 586 | ## ⚙️ Miscellaneous Tasks 587 | 588 | - Updated coverage badge ([7e40ca6](https://github.com/tj-actions/coverage-badge-go/commit/7e40ca6fa4ad6aa37363db7b455a8ded61ec3778)) - (jackton1) 589 | 590 | ## ⬆️ Upgrades 591 | 592 | - Upgraded from v1 -> v1 593 | ([0c37c2b](https://github.com/tj-actions/coverage-badge-go/commit/0c37c2b652169b907d0eacc67c240367417b602a)) - (jackton1) 594 | 595 | 596 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021, Tonye Jack 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Ubuntu](https://img.shields.io/badge/Ubuntu-E95420?style=for-the-badge\&logo=ubuntu\&logoColor=white)](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) 2 | [![Mac OS](https://img.shields.io/badge/mac%20os-000000?style=for-the-badge\&logo=macos\&logoColor=F0F0F0)](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) 3 | [![Windows](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge\&logo=windows\&logoColor=white)](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) 4 | [![Public workflows that use this action.](https://img.shields.io/endpoint?style=for-the-badge\&url=https%3A%2F%2Fused-by.vercel.app%2Fapi%2Fgithub-actions%2Fused-by%3Faction%3Dtj-actions%2Fcoverage-badge-go%26badge%3Dtrue%26package_id%3DUGFja2FnZS0yOTQ5NTE3MzA0)](https://github.com/search?o=desc\&q=tj-actions+coverage-badge-go+path%3A.github%2Fworkflows+language%3AYAML\&s=\&type=Code) 5 | 6 | 7 | 8 | [![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-) 9 | 10 | 11 | 12 | ## coverage-badge-go 13 | 14 | 15 | 16 | Generate a coverage badge like this one for your Golang projects without uploading results to a third party. 17 | 18 | 👇 19 | 20 | [![CI](https://github.com/tj-actions/coverage-badge-go/workflows/CI/badge.svg)](https://github.com/tj-actions/coverage-badge-go/actions?query=workflow%3ACI) 21 | [![Coverage](https://img.shields.io/badge/Coverage-100.0%25-brightgreen)](https://github.com/tj-actions/coverage-badge-go/actions/workflows/test.yml) 22 | [![Update release version.](https://github.com/tj-actions/coverage-badge-go/workflows/Update%20release%20version./badge.svg)](https://github.com/tj-actions/coverage-badge-go/actions?query=workflow%3A%22Update+release+version.%22) 23 | 24 | ## Usage 25 | 26 | ```yaml 27 | name: Generate code coverage badge 28 | 29 | on: 30 | pull_request: 31 | branches: 32 | - main 33 | 34 | jobs: 35 | test: 36 | runs-on: ubuntu-latest 37 | name: Update coverage badge 38 | steps: 39 | - name: Checkout 40 | uses: actions/checkout@v4 41 | with: 42 | persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token. 43 | fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository. 44 | 45 | - name: Setup go 46 | uses: actions/setup-go@v4 47 | with: 48 | go-version-file: 'go.mod' 49 | 50 | - name: Run Test 51 | run: | 52 | go test -v ./... -covermode=count -coverprofile=coverage.out 53 | go tool cover -func=coverage.out -o=coverage.out 54 | 55 | - name: Go Coverage Badge # Pass the `coverage.out` output to this action 56 | uses: tj-actions/coverage-badge-go@v2 57 | with: 58 | filename: coverage.out 59 | 60 | - name: Verify Changed files 61 | uses: tj-actions/verify-changed-files@v16 62 | id: verify-changed-files 63 | with: 64 | files: README.md 65 | 66 | - name: Commit changes 67 | if: steps.verify-changed-files.outputs.files_changed == 'true' 68 | run: | 69 | git config --local user.email "action@github.com" 70 | git config --local user.name "GitHub Action" 71 | git add README.md 72 | git commit -m "chore: Updated coverage badge." 73 | 74 | - name: Push changes 75 | if: steps.verify-changed-files.outputs.files_changed == 'true' 76 | uses: ad-m/github-push-action@master 77 | with: 78 | github_token: ${{ github.token }} 79 | branch: ${{ github.head_ref }} 80 | ``` 81 | 82 | ## Signed commits 83 | 84 | In order to create signed commits see full guide [here](https://httgp.com/signing-commits-in-github-actions/) 85 | 86 | ## Inputs 87 | 88 | 89 | 90 | ```yaml 91 | - uses: tj-actions/coverage-badge-go@v3 92 | id: coverage-badge-go 93 | with: 94 | # Color of the badge - 95 | # green/yellow/red 96 | # Type: string 97 | color: '' 98 | 99 | # File containing the tests output 100 | # Type: string 101 | # Default: "coverage.out" 102 | filename: '' 103 | 104 | # At what percentage does the 105 | # badge become green instead of 106 | # yellow (default: 70) 107 | # Type: string 108 | green: '' 109 | 110 | # Optional URL when you click 111 | # the badge 112 | # Type: string 113 | link: '' 114 | 115 | # Target file (default "README.md") 116 | # Type: string 117 | target: '' 118 | 119 | # Text on the left side 120 | # of the badge (default: "Coverage") 121 | # Type: string 122 | text: '' 123 | 124 | # Text on the right side 125 | # of the badge 126 | # Type: string 127 | value: '' 128 | 129 | # At what percentage does the 130 | # badge become yellow instead of 131 | # red (default 30) 132 | # Type: string 133 | yellow: '' 134 | 135 | ``` 136 | 137 | 138 | 139 | * Free software: [MIT license](LICENSE) 140 | 141 | If you feel generous and want to show some extra appreciation: 142 | 143 | [![Buy me a coffee][buymeacoffee-shield]][buymeacoffee] 144 | 145 | [buymeacoffee]: https://www.buymeacoffee.com/jackton1 146 | 147 | [buymeacoffee-shield]: https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png 148 | 149 | ## Credits 150 | 151 | This package was created with [Cookiecutter](https://github.com/cookiecutter/cookiecutter) using [cookiecutter-action](https://github.com/tj-actions/cookiecutter-action) 152 | 153 | * [gobadge](https://github.com/AlexBeauchemin/gobadge) 154 | * [gobinaries](https://github.com/tj/gobinaries) 155 | 156 | ## Report Bugs 157 | 158 | Report bugs at https://github.com/tj-actions/coverage-badge-go/issues. 159 | 160 | If you are reporting a bug, please include: 161 | 162 | * Your operating system name and version. 163 | * Any details about your workflow that might be helpful in troubleshooting. 164 | * Detailed steps to reproduce the bug. 165 | 166 | ## Contributors ✨ 167 | 168 | Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 |
Michael Donahue
Michael Donahue

🐛 💻
183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! 191 | -------------------------------------------------------------------------------- /action.yml: -------------------------------------------------------------------------------- 1 | name: Go Coverage Badge 2 | description: Generate coverage badge for go projects 3 | author: tj-actions 4 | inputs: 5 | filename: 6 | description: 'File containing the tests output' 7 | required: true 8 | default: coverage.out 9 | color: 10 | description: 'Color of the badge - green/yellow/red' 11 | required: false 12 | green: 13 | description: 'At what percentage does the badge become green instead of yellow (default: 70)' 14 | required: false 15 | target: 16 | description: 'Target file (default "README.md")' 17 | required: false 18 | text: 19 | description: 'Text on the left side of the badge (default: "Coverage")' 20 | required: false 21 | value: 22 | description: 'Text on the right side of the badge' 23 | required: false 24 | yellow: 25 | description: 'At what percentage does the badge become yellow instead of red (default 30)' 26 | required: false 27 | link: 28 | description: 'Optional URL when you click the badge' 29 | required: false 30 | 31 | runs: 32 | using: 'composite' 33 | steps: 34 | - run: | 35 | EXTRA_ARGS="" 36 | 37 | if [[ -n '${{ inputs.color }}' ]]; then 38 | EXTRA_ARGS="${EXTRA_ARGS} -color=${{ inputs.color }}" 39 | fi 40 | 41 | if [[ -n '${{ inputs.green }}' ]]; then 42 | EXTRA_ARGS="${EXTRA_ARGS} -green=${{ inputs.green }}" 43 | fi 44 | 45 | if [[ -n '${{ inputs.target }}' ]]; then 46 | EXTRA_ARGS="${EXTRA_ARGS} -target=${{ inputs.target }}" 47 | fi 48 | 49 | if [[ -n '${{ inputs.text }}' ]]; then 50 | EXTRA_ARGS="${EXTRA_ARGS} -text=${{ inputs.text }}" 51 | fi 52 | 53 | if [[ -n '${{ inputs.value }}' ]]; then 54 | EXTRA_ARGS="${EXTRA_ARGS} -value=${{ inputs.value }}" 55 | fi 56 | 57 | if [[ -n '${{ inputs.yellow }}' ]]; then 58 | EXTRA_ARGS="${EXTRA_ARGS} -yellow=${{ inputs.yellow }}" 59 | fi 60 | 61 | if [[ -n '${{ inputs.link }}' ]]; then 62 | EXTRA_ARGS="${EXTRA_ARGS} -link=${{ inputs.link }}" 63 | fi 64 | 65 | go install github.com/AlexBeauchemin/gobadge@v0.4.0 66 | $(go env GOPATH)/bin/gobadge -filename=${{ inputs.filename }} $EXTRA_ARGS 67 | id: coverage-badge-go 68 | shell: bash 69 | 70 | branding: 71 | icon: check-circle 72 | color: white 73 | -------------------------------------------------------------------------------- /test/Makefile: -------------------------------------------------------------------------------- 1 | clean: ## Clean test artifacts 2 | @rm -f coverage.out 3 | 4 | .PHONY: test 5 | test: clean ## Test go modules 6 | @go test -v ./... -covermode=count -coverprofile=coverage.out 7 | @go tool cover -func=coverage.out -o=coverage.out 8 | -------------------------------------------------------------------------------- /test/add.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | func add(a int, b int) int { 4 | return a + b 5 | } 6 | -------------------------------------------------------------------------------- /test/add_test.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import "testing" 4 | 5 | func TestAdd(t *testing.T) { 6 | t.Run("add", func(t *testing.T) { 7 | value := add(2, 2) 8 | 9 | if value != 4 { 10 | t.Errorf("expected: %d, got: %d", 4, value) 11 | } 12 | }) 13 | } -------------------------------------------------------------------------------- /test/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/tj-actions/coverage-badge-go/test 2 | 3 | go 1.23 4 | --------------------------------------------------------------------------------