Skip to content

Commit

Permalink
prepare 2.8.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHaxe committed Aug 24, 2022
1 parent 0d784ee commit 1f8f0ae
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 30 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/checkstyle-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
haxe-version: ['4.1.5', '4.2.4', 'nightly']
haxe-version: ['4.1.5', '4.2.5', 'nightly']
env:
CC_TEST_REPORTER_ID: c4eda639526d39fbcab7ab9fc68c4046d4e597df56dbcb552b42d27b3580b758
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
steps:
- uses: actions/checkout@v1
- name: Use Node.js 10
- name: Use Node.js 12
uses: actions/setup-node@v1
with:
node-version: 10
node-version: 12
- name: Installing codeclimate client
if: matrix.haxe-version == '4.2.4'
if: matrix.haxe-version == '4.2.5'
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
Expand All @@ -51,22 +51,23 @@ jobs:
- name: Build NodeJs version
run: npx haxe buildJS.hxml
- name: Build C++ version
if: matrix.haxe-version != 'nightly'
run: echo "y" | npx haxe buildCpp.hxml
- name: Build JSON schema
run: npx haxe buildSchema.hxml
- name: Run eval tests
run: npx haxe -D codecov_json testAndResources.hxml
- name: Run Java tests
run: npx haxe testJava.hxml
- name: Run JVM tests
run: npx haxe testJvm.hxml
- name: Format and upload codeclimate coverage
if: success() && matrix.haxe-version == '4.2.4'
if: success() && matrix.haxe-version == '4.2.5'
run: |
( \
cd src; \
../cc-test-reporter format-coverage -t lcov ../lcov.info; \
../cc-test-reporter upload-coverage; \
)
- name: Upload results to codecov
if: success() && (matrix.haxe-version == '4.2.4')
if: success() && (matrix.haxe-version == '4.2.5')
run: bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports"
2 changes: 1 addition & 1 deletion .haxerc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "4.2.4",
"version": "4.2.5",
"resolveLibs": "scoped"
}
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## dev branch / next version (2.x.x)

## version 2.8.0 (2022-08-24)

- New check `CommentedOutCode` to check comments for commented out code fragments ([#512](https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/512))
- Fixed Haxe nightly compilation ([#505](https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/505))
- Added related messages to reporters for `CodeSimilarity` check ([#506](https://github.com/HaxeCheckstyle/haxe-checkstyle/issues/506))
Expand Down
6 changes: 3 additions & 3 deletions haxe_libraries/json2object.hxml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @install: lix --silent download "gh://github.com/elnabo/json2object#a6845b4826151271dd34c69631ffda0886abd562" into json2object/3.8.1/github/a6845b4826151271dd34c69631ffda0886abd562
# @install: lix --silent download "haxelib:/json2object#3.10.0" into json2object/3.10.0/haxelib
-lib hxjsonast
-cp ${HAXE_LIBCACHE}/json2object/3.8.1/github/a6845b4826151271dd34c69631ffda0886abd562/src
-D json2object=3.8.1
-cp ${HAXE_LIBCACHE}/json2object/3.10.0/haxelib/src
-D json2object=3.10.0
6 changes: 3 additions & 3 deletions haxe_libraries/test-adapter.hxml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-D test-adapter=1.2.6
# @install: lix --silent download "haxelib:/test-adapter#1.2.6" into test-adapter/1.2.6/haxelib
# @install: lix --silent download "haxelib:/test-adapter#2.0.1" into test-adapter/2.0.1/haxelib
-lib json2object
-cp ${HAXE_LIBCACHE}/test-adapter/1.2.6/haxelib/
-cp ${HAXE_LIBCACHE}/test-adapter/2.0.1/haxelib/
-D test-adapter=2.0.1
--macro _testadapter.Macro.init()
6 changes: 3 additions & 3 deletions haxe_libraries/tokentree.hxml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# @install: lix --silent download "gh://github.com/HaxeCheckstyle/tokentree#34216bcef43d521463a38ada480a1e993cd877a7" into tokentree/1.1.1/github/34216bcef43d521463a38ada480a1e993cd877a7
-cp ${HAXE_LIBCACHE}/tokentree/1.1.1/github/34216bcef43d521463a38ada480a1e993cd877a7/src
-D tokentree=1.1.1
# @install: lix --silent download "haxelib:/tokentree#1.1.2" into tokentree/1.1.2/haxelib
-cp ${HAXE_LIBCACHE}/tokentree/1.1.2/haxelib/src
-D tokentree=1.1.2
4 changes: 2 additions & 2 deletions haxelib.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"adireddy",
"Gama11"
],
"releasenote": "breaking change: EnforceVarTypeHint renamed to VarTypeHint - see CHANGELOG",
"version": "2.7.0",
"releasenote": "added CommentedOutCode check - see CHANGELOG",
"version": "2.8.0",
"url": "https://github.com/HaxeCheckstyle/haxe-checkstyle",
"dependencies": {}
}
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@haxecheckstyle/haxe-checkstyle",
"version": "2.7.0",
"version": "2.8.0",
"description": "Automated code analysis ideal for projects that want to enforce a coding standard.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -29,7 +29,7 @@
}
],
"devDependencies": {
"lix": "^15.11.6"
"lix": "^15.12.0"
},
"bugs": "https://github.com/HaxeCheckstyle/haxe-checkstyle/issues",
"license": "MIT",
Expand Down

0 comments on commit 1f8f0ae

Please sign in to comment.