Skip to content

Commit

Permalink
cl_document_bcs, fix types (#879)
Browse files Browse the repository at this point in the history
  • Loading branch information
larshp committed Apr 18, 2024
1 parent 9ecfeb5 commit 66f8cb6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 19 deletions.
24 changes: 9 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm install
- run: npm test
integration:
Expand All @@ -25,10 +23,8 @@ jobs:
env:
HTTP_BIN_HOST: http://localhost:8080
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: docker run -d -p8080:80 kennethreitz/httpbin
- run: npm install
- run: npm run integration
Expand All @@ -37,15 +33,13 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Performance After
run: |
npm install && npm run performance
cp results.json results_after.json
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: main
path: before
Expand All @@ -71,7 +65,7 @@ jobs:

- name: Find Comment
if: steps.findPr.outputs.pr != ''
uses: peter-evans/find-comment@v2
uses: peter-evans/find-comment@v3
id: fc
with:
issue-number: '${{steps.findPr.outputs.pr}}'
Expand All @@ -81,7 +75,7 @@ jobs:

- name: Create comment
if: steps.findPr.outputs.pr != ''
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
id: create-comment
with:
issue-number: '${{steps.findPr.outputs.pr}}'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"license": "MIT",
"dependencies": {
"@abaplint/cli": "^2.106.5",
"@abaplint/cli": "^2.106.7",
"@abaplint/runtime": "^2.8.24",
"@abaplint/database-sqlite": "^2.8.0",
"@abaplint/transpiler-cli": "^2.8.24"
Expand Down
6 changes: 3 additions & 3 deletions src/bcs/cl_document_bcs.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CLASS cl_document_bcs DEFINITION PUBLIC.

CLASS-METHODS create_document
IMPORTING
i_type TYPE string
i_type TYPE clike
i_subject TYPE clike
i_text TYPE any OPTIONAL
i_length TYPE i OPTIONAL
Expand All @@ -15,8 +15,8 @@ CLASS cl_document_bcs DEFINITION PUBLIC.

METHODS add_attachment
IMPORTING
i_attachment_type TYPE string
i_attachment_subject TYPE string
i_attachment_type TYPE clike
i_attachment_subject TYPE clike
i_attachment_size TYPE i OPTIONAL
i_att_content_text TYPE any OPTIONAL
i_att_content_hex TYPE any OPTIONAL
Expand Down

0 comments on commit 66f8cb6

Please sign in to comment.