Skip to content

Commit

Permalink
Deprecate reuse-go. (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncruces authored Dec 11, 2023
1 parent 9e61380 commit 494b284
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ The action has 8 configuration knobs:
generate an [SVG coverage chart][4].
- `amend`: default `false`,
amend your Wiki, avoiding a series of “Update coverage” commits.
- `reuse-go`: default `false`,
reuse Go as setup by the caller action
(for performance, caching, configurability).

Also, consider:
- running this step _after_ your tests run
Expand All @@ -55,7 +52,6 @@ Complete example:
report: true
chart: true
amend: true
reuse-go: true
if: |
matrix.os == 'ubuntu-latest' &&
github.event_name == 'push'
Expand Down
7 changes: 1 addition & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ inputs:
description: Amend wiki, avoiding spurious commits.
default: false
reuse-go:
description: Reuse Go as setup by the caller action.
default: false
deprecationMessage: Go install is always reused.

runs:
using: composite
Expand All @@ -43,10 +42,6 @@ runs:
repository: ${{github.repository}}.wiki
path: ./.github/wiki/

- name: Set up Go
uses: actions/setup-go@v4
if: inputs.reuse-go != 'true'

- name: Generate coverage report
shell: bash
env:
Expand Down

0 comments on commit 494b284

Please sign in to comment.