mirror of
https://github.com/erlef/setup-beam.git
synced 2026-08-01 04:30:48 +00:00
Add error and warning matchers
This commit is contained in:
@@ -11,6 +11,21 @@
|
|||||||
"message": 7
|
"message": 7
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"owner": "elixir-warning",
|
||||||
|
"pattern": [
|
||||||
|
{
|
||||||
|
"regexp": "^(warning: (.*))$",
|
||||||
|
"message": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"regexp": "^( )((.:)?[^:]*):(\\d+)(:(\\d+))?$",
|
||||||
|
"file": 2,
|
||||||
|
"line": 4,
|
||||||
|
"column": 6
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,6 +38,9 @@ async function main() {
|
|||||||
|
|
||||||
if (installRebar) await exec('mix local.rebar --force')
|
if (installRebar) await exec('mix local.rebar --force')
|
||||||
if (installHex) await exec('mix local.hex --force')
|
if (installHex) await exec('mix local.hex --force')
|
||||||
|
|
||||||
|
const matchersPath = path.join(__dirname, '..', '.github');
|
||||||
|
console.log(`##[add-matcher]${path.join(matchersPath, 'elixir.json')}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
function checkPlatform() {
|
function checkPlatform() {
|
||||||
|
|||||||
Reference in New Issue
Block a user