mirror of
https://github.com/actions-rs/cargo.git
synced 2024-11-14 21:46:34 +02:00
Updating syntax for matchers
This commit is contained in:
parent
40ef48bb22
commit
9e78198b90
3 changed files with 5 additions and 4 deletions
|
@ -8,7 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Problem matcher which will highlight warnings and errors in the cargo output
|
- Problem matcher to highlight warnings and errors in the cargo output
|
||||||
|
- Problem matcher to highlight difference messages in the `rustfmt` output
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
|
@ -25,8 +25,8 @@ export async function run(actionInput: input.Input): Promise<void> {
|
||||||
|
|
||||||
async function main(): Promise<void> {
|
async function main(): Promise<void> {
|
||||||
const matchersPath = path.join(__dirname, '.matchers');
|
const matchersPath = path.join(__dirname, '.matchers');
|
||||||
console.log(`::[add-matcher]${path.join(matchersPath, 'rust.json')}`);
|
console.log(`::add-matcher::${path.join(matchersPath, 'rust.json')}`);
|
||||||
console.log(`::[add-matcher]${path.join(matchersPath, 'rustfmt.json')}`);
|
console.log(`::add-matcher::${path.join(matchersPath, 'rustfmt.json')}`);
|
||||||
|
|
||||||
const actionInput = input.get();
|
const actionInput = input.get();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue