Skip to content

Commit 24ac22f

Browse files
Merge branch 'master' into Feat-add-guardduty-to-AWS
2 parents e5725bc + f9d05df commit 24ac22f

File tree

4 files changed

+15
-29
lines changed

4 files changed

+15
-29
lines changed

.github/workflows/ossf-scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ jobs:
5757

5858
# Upload the results to GitHub's code scanning dashboard.
5959
- name: "Upload to code-scanning"
60-
uses: github/codeql-action/upload-sarif@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
60+
uses: github/codeql-action/upload-sarif@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
6161
with:
6262
sarif_file: results.sarif

.github/workflows/publish-to-ghcr-and-pypi.yml

Lines changed: 11 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -19,48 +19,34 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
# 1. Publish to PyPI
22-
# We still need to use pypa/build because uv does not yet support dynamic version
23-
# see: https://github.com/astral-sh/uv/issues/8714
2422
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25-
- name: Set up Python 3.10
26-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
23+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2724
with:
2825
python-version: "3.10"
29-
- name: Install pypa/build
30-
run: >-
31-
python -m
32-
pip install
33-
build[uv]
34-
--user
26+
- name: Install uv
27+
uses: astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # v6.4.3
28+
with:
29+
enable-cache: true
30+
cache-dependency-glob: "uv.lock"
3531
- name: Build a binary wheel and a source tarball
36-
run: >-
37-
python -m
38-
build
39-
--installer=uv
40-
--sdist
41-
--wheel
42-
--outdir dist/
43-
.
32+
run: uv build
4433
- name: Publish distribution 📦 to PyPI
4534
if: startsWith(github.ref, 'refs/tags')
46-
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
47-
with:
48-
user: __token__
49-
password: ${{ secrets.PYPI_API_TOKEN }}
50-
skip-existing: true
35+
run: uv publish --username __token__ --password ${{ secrets.PYPI_API_TOKEN }}
36+
5137
# 2. Publish to GHCR
5238
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5339
- name: Extract metadata (tags, labels) for Docker
5440
id: meta
55-
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
41+
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
5642
with:
5743
images: ghcr.io/${{ github.repository }}
5844

5945
- name: Set up Docker Buildx
6046
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
6147

6248
- name: Login to GitHub Container Registry
63-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
49+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
6450
with:
6551
registry: ghcr.io
6652
# This is the user that triggered the Workflow. In this case, it will

.github/workflows/test_suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9494
- name: Extract metadata (tags, labels) for Docker
9595
id: meta
96-
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
96+
uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5.8.0
9797
with:
9898
images: ghcr.io/${{ github.repository }}
9999

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ dev = [
7878
"pre-commit",
7979
"pytest>=6.2.4",
8080
"pytest-mock",
81-
"pytest-cov==6.1.1",
81+
"pytest-cov==6.2.1",
8282
"pytest-rerunfailures",
8383
"pytest-asyncio",
8484
"types-PyYAML",
8585
"black==25.1.0",
86-
"types-requests<2.32.0.20250329",
86+
"types-requests<2.32.4.20250612",
8787
]
8888
doc = [
8989
"myst-parser[linkify]>=4.0.1",

0 commit comments

Comments
 (0)