Skip to content
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 .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
permissions:
actions: read
contents: read
Expand Down
21 changes: 10 additions & 11 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,26 @@
on: [push, pull_request]
jobs:
linterWithESLint:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v7
with:
node-version: 12.x
- run: npm install
- run: npm ci --ignore-scripts
- run: npm run lint
testWithSAMCLI:
runs-on: ubuntu-latest
runs-on: ubuntu-26.04
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v6
with:
python-version: 3.8
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install aws-sam-cli
pip install --only-binary :all: aws-sam-cli==1.167.0
- name: Set up JDK
uses: actions/setup-java@v5
with:
Expand Down Expand Up @@ -61,8 +60,8 @@
- name: Test CWL packing with pytest
working-directory: ./cwlpack
run: |
pip install -r tests/requirements.txt --user
pip install -r cwl_pack_function/requirements.txt --user
pip install --only-binary :all: -r tests/requirements.txt --user

Check warning on line 63 in .github/workflows/maven.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=dockstore_lambda&issues=AaEXUhE8GILKcnEzAZvu&open=AaEXUhE8GILKcnEzAZvu&pullRequest=199
pip install --only-binary :all: -r cwl_pack_function/requirements.txt --user
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
python -m pytest tests/unit -v
pylint cwl_pack_function
pylint tests
Expand Down
4 changes: 2 additions & 2 deletions cwlpack/.pylintrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[MASTER]
init-hook="from pylint.config import find_pylintrc; import os, sys; sys.path.append(os.path.dirname(find_pylintrc()))"
[MAIN]
init-hook="import os, sys; sys.path.append(os.getcwd())"
4 changes: 2 additions & 2 deletions cwlpack/cwl_pack_function/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
requests==2.32.2
pygit2==1.7.0
sbpack==2021.10.7
pygit2==1.20.1
sbpack==2024.12.17
2 changes: 1 addition & 1 deletion cwlpack/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Resources:
Properties:
CodeUri: cwl_pack_function/
Handler: app.lambda_handler
Runtime: python3.8
Runtime: python3.12
Events:
HelloWorld:
Type: Api # More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api
Expand Down
8 changes: 4 additions & 4 deletions cwlpack/tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest==6.2.5
pytest-mock==3.6.1
boto3==1.19.0
pylint==2.11.1
pytest==9.0.3
pytest-mock==3.15.1
boto3==1.40.0
pylint==3.3.8
Loading