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

chore: update deps #53

Merged
merged 1 commit into from
Aug 30, 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 .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
43 changes: 21 additions & 22 deletions .github/workflows/serverless-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,28 @@ on:
push:
branches: [main]
paths:
- "product/**" # source code
- "infrastructure/**" # CDK source code
- "product/**" # source code
- "infrastructure/**" # CDK source code
- "tests/**"
- "pyproject.toml" # deps
- "poetry.lock" # deps
- "pyproject.toml" # deps
- "poetry.lock" # deps
- "mypy.ini"
- "app.py" # CDK entrypoint
- ".flake8" # linter settings
- ".isort.cfg" # formatter settings
- "app.py" # CDK entrypoint
- ".flake8" # linter settings
- ".isort.cfg" # formatter settings

pull_request:
branches: [main]
paths:
- "product/**" # source code
- "infrastructure/**" # CDK source code
- "product/**" # source code
- "infrastructure/**" # CDK source code
- "tests/**"
- "pyproject.toml" # deps
- "poetry.lock" # deps
- "pyproject.toml" # deps
- "poetry.lock" # deps
- "mypy.ini"
- "app.py" # CDK entrypoint
- ".flake8" # linter settings
- ".isort.cfg" # formatter settings

- "app.py" # CDK entrypoint
- ".flake8" # linter settings
- ".isort.cfg" # formatter settings

jobs:
quality_standards:
Expand All @@ -55,14 +54,14 @@ jobs:
BRANCH_NAME: ${{ github.ref }}
REPO_NAME: ${{ github.repository }}
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: "poetry" # NOTE: poetry must be installed before this step, or else cache doesn't work
cache: "poetry" # NOTE: poetry must be installed before this step, or else cache doesn't work
- name: Install dependencies
run: make dev
- name: pre commit
Expand All @@ -76,19 +75,19 @@ jobs:
runs-on: ubuntu-latest
environment: dev
permissions:
id-token: write # required for requesting the JWT (GitHub OIDC)
id-token: write # required for requesting the JWT (GitHub OIDC)
steps:
- name: Check out repository code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: "poetry" # NOTE: poetry must be installed before this step, or else cache doesn't work
cache: "poetry" # NOTE: poetry must be installed before this step, or else cache doesn't work
- name: Set up Node
uses: actions/setup-node@bea5baf987ba7aa777a8a0b4ace377a21c45c381 # v3.8.0
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: ${{ env.NODE_VERSION }}
cache: "npm"
Expand All @@ -98,7 +97,7 @@ jobs:
# once that's discussed we can move unit and infra tests as part of the fast quality standards
# see https://github.com/ran-isenberg/serverless-python-demo/pull/38#discussion_r1299372169
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0
uses: aws-actions/configure-aws-credentials@04b98b3f9e85f563fb061be8751a0352327246b0 # v3.0.1
with:
role-to-assume: ${{ secrets.AWS_ROLE }}
role-session-name: ${{ env.SESSION_NAME }}
Expand Down
Loading