Skip to content

Commit 494b284

Browse files
authored
Deprecate reuse-go. (#14)
1 parent 9e61380 commit 494b284

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ The action has 8 configuration knobs:
2828
generate an [SVG coverage chart][4].
2929
- `amend`: default `false`,
3030
amend your Wiki, avoiding a series of “Update coverage” commits.
31-
- `reuse-go`: default `false`,
32-
reuse Go as setup by the caller action
33-
(for performance, caching, configurability).
3431

3532
Also, consider:
3633
- running this step _after_ your tests run
@@ -55,7 +52,6 @@ Complete example:
5552
report: true
5653
chart: true
5754
amend: true
58-
reuse-go: true
5955
if: |
6056
matrix.os == 'ubuntu-latest' &&
6157
github.event_name == 'push'

action.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ inputs:
2525
description: Amend wiki, avoiding spurious commits.
2626
default: false
2727
reuse-go:
28-
description: Reuse Go as setup by the caller action.
29-
default: false
28+
deprecationMessage: Go install is always reused.
3029

3130
runs:
3231
using: composite
@@ -43,10 +42,6 @@ runs:
4342
repository: ${{github.repository}}.wiki
4443
path: ./.github/wiki/
4544

46-
- name: Set up Go
47-
uses: actions/setup-go@v4
48-
if: inputs.reuse-go != 'true'
49-
5045
- name: Generate coverage report
5146
shell: bash
5247
env:

0 commit comments

Comments
 (0)