Skip to content

Commit 862dbc5

Browse files
authored
Merge branch 'develop' into dependabot/pip/pygments-2.15.0
Signed-off-by: Simon Thulbourn <[email protected]>
2 parents 9b29f26 + bcd95dd commit 862dbc5

File tree

521 files changed

+47618
-6996
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

521 files changed

+47618
-6996
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ body:
5959
label: AWS Lambda function runtime
6060
options:
6161
- dotnet6
62+
- dotnet8
63+
- dotnet8 (AOT)
6264
validations:
6365
required: true
6466
- type: textarea

.github/ISSUE_TEMPLATE/maintenance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ body:
3838
- Metrics
3939
- Parameters
4040
- Idempotency
41+
- Batch Processing
4142
- Feature flags
4243
- Other
4344
- type: textarea

.github/dependabot.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
# To get started with Dependabot version updates, you'll need to specify which
2-
# package ecosystems to update and where the package manifests are located.
3-
# Please see the documentation for all configuration options:
4-
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5-
61
version: 2
72
updates:
8-
- package-ecosystem: "nuget" # See documentation for possible values
9-
directory: "/libraries/" # Location of package manifests
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
105
schedule:
11-
interval: "weekly"
12-
target-branch: "develop"
6+
interval: "daily"
7+
commit-message:
8+
prefix: chore
9+
include: scope
10+
11+
- package-ecosystem: docker
12+
directory: /docs
1313
commit-message:
1414
prefix: chore
1515
include: scope
16+
schedule:
17+
interval: daily

.github/workflows/build.yml

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,45 @@ name: Build .NET
22

33
on:
44
push:
5+
paths:
6+
- "libraries/**"
57
branches: [develop, main]
68
pull_request:
9+
paths:
10+
- "libraries/**"
711
branches: [develop, main]
812

913
defaults:
1014
run:
1115
working-directory: ./libraries
1216

17+
permissions:
18+
contents: read
19+
1320
jobs:
1421
build:
1522
runs-on: ubuntu-latest
1623

1724
steps:
18-
- uses: actions/checkout@v3
19-
- name: Setup .NET 6.0
20-
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a
25+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
26+
- name: Setup .NET 6.0 & 8.0
27+
uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # 4.3.0
2128
with:
22-
dotnet-version: 6.0.405
23-
- name: Install solution dependencies
24-
run: dotnet restore
29+
dotnet-version: |
30+
6.0.405
31+
8.0.101
2532
- name: Build
26-
run: dotnet build --configuration Release --no-restore
33+
run: dotnet build --configuration Release
34+
- name: Test Examples
35+
run: dotnet test ../examples/
2736
- name: Test & Code Coverage
28-
run: dotnet test --collect:"XPlat Code Coverage" -r ./codecov --no-restore --verbosity normal
37+
run: dotnet test --filter "Category!=E2E" --collect:"XPlat Code Coverage" --results-directory ./codecov --verbosity normal
2938
- name: Codecov
30-
uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # 3.1.0
39+
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # 5.3.1
3140
with:
3241
token: ${{ secrets.CODECOV_TOKEN }}
3342
flags: unittests
34-
fail_ci_if_error: true
43+
fail_ci_if_error: false
3544
name: codecov-lambda-powertools-dotnet
3645
verbose: true
3746
directory: ./libraries/codecov

.github/workflows/codeql-analysis.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ name: "CodeQL"
22

33
on:
44
push:
5+
paths:
6+
- "libraries/**"
57
branches: [ "develop", main ]
68
pull_request:
7-
# The branches below must be a subset of the branches above
9+
paths:
10+
- "libraries/**"
811
branches: [ "develop" ]
912
schedule:
1013
- cron: '42 8 * * 0'
@@ -25,18 +28,18 @@ jobs:
2528

2629
steps:
2730
- name: Checkout repository
28-
uses: actions/checkout@v3
31+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2932

3033
# Initializes the CodeQL tools for scanning.
3134
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@2ca79b6fa8d3ec278944088b4aa5f46912db5d63 #v2
35+
uses: github/codeql-action/init@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 #v2
3336
with:
3437
languages: ${{ matrix.language }}
3538

3639
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
3740
# If this step fails, then you should remove it and run the build manually (see below)
3841
- name: Autobuild
39-
uses: github/codeql-action/autobuild@2ca79b6fa8d3ec278944088b4aa5f46912db5d63 #v2
42+
uses: github/codeql-action/autobuild@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 #v2
4043

4144
# ℹ️ Command-line programs to run using the OS shell.
4245
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -49,4 +52,4 @@ jobs:
4952
# ./location_of_script_within_repo/buildscript.sh
5053

5154
- name: Perform CodeQL Analysis
52-
uses: github/codeql-action/analyze@2ca79b6fa8d3ec278944088b4aa5f46912db5d63 #v2
55+
uses: github/codeql-action/analyze@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 #v2

.github/workflows/dispatch_analytics.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ jobs:
3030
environment: analytics
3131
steps:
3232
- name: Configure AWS credentials
33-
uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef
33+
uses: aws-actions/configure-aws-credentials@4fc4975a852c8cd99761e2de1f4ba73402e44dd9
3434
with:
3535
aws-region: eu-central-1
3636
role-to-assume: ${{ secrets.AWS_ANALYTICS_ROLE_ARN }}
37+
mask-aws-account-id: true
3738

3839
- name: Invoke Lambda function
3940
run: |

.github/workflows/docs.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
runs-on: ubuntu-latest
2121
environment: Docs
2222
steps:
23-
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
23+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424
with:
2525
fetch-depth: 0
2626
- name: Set up Python
27-
uses: actions/setup-python@v4
27+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
2828
with:
29-
python-version: "3.8"
29+
python-version: "3.12"
3030
- name: Capture branch and tag
3131
id: branch_name
3232
run: |
@@ -35,10 +35,11 @@ jobs:
3535
- name: Build docs website
3636
run: make build-docs-website
3737
- name: Configure AWS credentials
38-
uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef
38+
uses: aws-actions/configure-aws-credentials@4fc4975a852c8cd99761e2de1f4ba73402e44dd9 # v4.0.3
3939
with:
4040
aws-region: us-east-1
4141
role-to-assume: ${{ secrets.AWS_DOCS_ROLE_ARN }}
42+
mask-aws-account-id: true
4243
- name: Deploy Docs
4344
run: |
4445
aws s3 sync \
@@ -52,20 +53,23 @@ jobs:
5253
runs-on: ubuntu-latest
5354
environment: Docs
5455
steps:
55-
- uses: actions/checkout@v3
56-
- name: Setup .NET 6.0
57-
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a
56+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
57+
- name: Setup .NET 8.0
58+
uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # 4.3.0
5859
with:
59-
dotnet-version: 6.0.405
60-
- uses: nikeee/docfx-action@b9c2cf92e3b4aa06878a1410833a8828b4bdcd26 #1.0.0
61-
name: Build Documentation
62-
with:
63-
args: apidocs/docfx.json
60+
dotnet-version: '8.x'
61+
62+
- name: Build Api Docs
63+
run: |
64+
dotnet tool install -g docfx
65+
docfx apidocs/docfx.json
66+
6467
- name: Configure AWS credentials
65-
uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef
68+
uses: aws-actions/configure-aws-credentials@4fc4975a852c8cd99761e2de1f4ba73402e44dd9 # v4.0.3
6669
with:
6770
aws-region: us-east-1
6871
role-to-assume: ${{ secrets.AWS_DOCS_ROLE_ARN }}
72+
mask-aws-account-id: true
6973
- name: Deploy Docs
7074
run: |
7175
aws s3 sync \

0 commit comments

Comments
 (0)