Skip to content

Commit

Permalink
generate checkstyle report
Browse files Browse the repository at this point in the history
updated instrument lib
  • Loading branch information
AlexHaxe committed Jun 4, 2024
1 parent 6032e80 commit a8542b1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/tokentree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
haxe-version: ['4.3.4', 'nightly']
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Use Node.js 18
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -57,8 +57,14 @@ jobs:
- name: Run Node version with --check
if: matrix.haxe-version != 'nightly'
run: npx neko checkstyle/run.n -s src -s test
- name: Run checkstyle with XML report
run: node checkstyle/run.js -s src -s test -r xml
- name: Coverage report
if: success() && (matrix.haxe-version != 'nightly')
uses: livewing/[email protected]
with:
lcov: lcov.info
- name: Checkstyle report
uses: jwgmeligmeyling/checkstyle-github-action@master
with:
path: '**/check-style-report.xml'
7 changes: 3 additions & 4 deletions haxe_libraries/instrument.hxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# @install: lix --silent download "gh://github.com/AlexHaxe/haxe-instrument#92a5691c7e77a696532e2e13ac1f717841f43015" into instrument/1.1.1/github/92a5691c7e77a696532e2e13ac1f717841f43015
-lib safety
-cp ${HAXE_LIBCACHE}/instrument/1.1.1/github/92a5691c7e77a696532e2e13ac1f717841f43015/src
-D instrument=1.1.1
# @install: lix --silent download "haxelib:/instrument#1.2.0" into instrument/1.2.0/haxelib
-lib safety
-cp ${HAXE_LIBCACHE}/instrument/1.2.0/haxelib/src
-D instrument=1.2.0

0 comments on commit a8542b1

Please sign in to comment.