ajahl / gcc-problem-matcher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Actions GCC Problem Matcher

Big thank-you to xt0rted for the Github Actions Problem Matcher Template: well documented, excellent test coverage and commenting.

The pattern match regex used here comes from vs-code, and was motivated by gcc-problem-matcher by Ammar Askar.

CI Workflow Status

Usage

on: push
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: electronjoe/gcc-problem-matcher@v1
      - run: echo "Run some tests that will be picked up"
      - uses: electrojoe/gcc-problem-matcher@v2
        with:
          action: remove
      - run: echo "Run some more tests that shouldn't be picked up"

Options

Name Allowed values Description
action add (default), remove If the problem matcher should be registered or removed

License

The scripts and documentation in this project are released under the MIT License

Build & Release Updates to electronjoe/gcc-problem-matcher

From a clean checkout:

git checkout releases/v1 && git merge main

purge dist && purge lib && purge node_modules

npm ci

npm run lint --if-present && npm test

npm run build && npm run release

git commit -m "Release v1.1.0"      # creates the release commit
git tag -fa v1 -m "Update v1 tag"   # updates the v1 tag to point to the latest release
git push origin && git push origin v1 --force

About

License:MIT License


Languages

Language:TypeScript 82.6%Language:JavaScript 17.4%