Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.3.4 #63

Merged
merged 3 commits into from
May 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/lib/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default async function (fastify) {
openapi: {
info: {
title: 'CSAF Validator Service',
version: '1.3.3',
version: '1.3.4',
description:
'This is a service to validate documents against the CSAF standard.',
contact: {
Expand Down
33 changes: 33 additions & 0 deletions csaf-validator-lib/.github/workflows/publish-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: 'Test Report'
on:
workflow_run:
workflows: ['Run Tests']
types:
- completed
jobs:
report:
runs-on: ubuntu-latest
steps:
- name: Download workflow artifact
uses: dawidd6/[email protected]
with:
workflow: run-tests.yml
name: test-results
run_id: ${{ github.event.workflow_run.id }}
- name: Set pr number env
run: |
PR_NUMBER=$(cat pr_number)
echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_ENV
- name: Test Report
uses: phoenix-actions/test-reporting@v12
id: test-report
with:
artifact: test-results
name: Mocha Tests
path: test-results.json
reporter: mocha-json
- name: c8 coverage report
uses: Nef10/[email protected]
with:
pr-number: ${{ env.PR_NUMBER }}
github-token: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@ jobs:
node-version: 16
- run: npm ci
- run: npm run test-report
- name: Test Report
uses: phoenix-actions/test-reporting@v8
id: test-report
if: success() || failure()
with:
name: Mocha Tests
path: test-results.json
reporter: mocha-json
- run: npm run test-coverage-lcov
- name: c8 coverage report
uses: romeovs/[email protected]
- name: Save PR number
env:
PR_NUMBER: ${{ github.event.number }}
run: |
echo $PR_NUMBER > ./pr_number
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
name: test-results
path: |
test-results.json
coverage
pr_number
20 changes: 10 additions & 10 deletions csaf-validator-lib/package-lock.json

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

6 changes: 3 additions & 3 deletions csaf-validator-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"json-pointer": "^0.6.1",
"lodash": "^4.17.21",
"packageurl-js": "^1.0.2",
"semver": "^7.5.0",
"undici": "^5.22.0"
"semver": "^7.4.0",
"undici": "^5.22.1"
},
"devDependencies": {
"@types/chai": "^4.3.4",
Expand All @@ -38,5 +38,5 @@
"typescript": "^4.9.4",
"xml2js": "^0.5.0"
},
"version": "1.3.1"
"version": "1.3.5"
}
2 changes: 1 addition & 1 deletion documents/generated/asciidoc/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.5.0
6.6.0
2 changes: 1 addition & 1 deletion documents/generated/asciidoc/index.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= CSAF Validator Service
[email protected]
1.3.3
1.3.4
:toc: left
:numbered:
:toclevels: 3
Expand Down
2 changes: 1 addition & 1 deletion documents/generated/html/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.5.0
6.6.0
2 changes: 1 addition & 1 deletion documents/generated/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ <h1>CSAF Validator Service</h1>
<div class="app-desc">This is a service to validate documents against the CSAF standard.</div>
<div class="app-desc">More information: <a href="https://github.com/secvisogram/csaf-validator-service">https://github.com/secvisogram/csaf-validator-service</a></div>
<div class="app-desc">Contact Info: <a href="[email protected]">[email protected]</a></div>
<div class="app-desc">Version: 1.3.3</div>
<div class="app-desc">Version: 1.3.4</div>
<div class="app-desc">BasePath:</div>
<div class="license-info">MIT</div>
<div class="license-url">https://github.com/secvisogram/csaf-validator-service/blob/main/LICENSE</div>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
"prettier": "^2.5.1",
"typescript": "^4.6.2"
},
"version": "1.3.2"
"version": "1.3.4"
}