Skip to content

Commit 4700143

Browse files
committed
Don't require 'annotate' option in testing
1 parent c9e6887 commit 4700143

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ inputs:
1111
description: The directory to store Crystal in
1212
annotate:
1313
description: Display compilation and spec errors as GitHub code annotations
14-
default: true
1514
token:
1615
description: Personal access token (auto-populated)
1716
default: ${{ github.token }}

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async function run() {
4949
const {stdout} = await subprocess(["crystal", "--version"]);
5050
Core.info(stdout);
5151

52-
if (Core.getBooleanInput("annotate")) {
52+
if (!Core.getInput("annotate") || Core.getBooleanInput("annotate")) {
5353
const matchersPath = Path.join(__dirname, ".github");
5454
Core.info(`::add-matcher::${Path.join(matchersPath, "crystal.json")}`);
5555
Core.info(`::add-matcher::${Path.join(matchersPath, "crystal-spec.json")}`);

0 commit comments

Comments
 (0)