Skip to content

Commit f7aefaa

Browse files
build(deps): bump the actions group with 3 updates (#31)
* build(deps): bump the actions group with 3 updates Bumps the actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [actions/download-artifact](https://github.com/actions/download-artifact) and [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `actions/checkout` from 4 to 5 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) Updates `actions/download-artifact` from 4 to 5 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@v4...v5) Updates `codecov/codecov-action` from 5.4.3 to 5.5.0 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v5.4.3...v5.5.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/download-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: codecov/codecov-action dependency-version: 5.5.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> * ci: update versions to SHA Signed-off-by: nstarman <nstarman@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: nstarman <nstarman@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: nstarman <nstarman@users.noreply.github.com>
1 parent 4e842b2 commit f7aefaa

3 files changed

Lines changed: 15 additions & 31 deletions

File tree

.github/workflows/cd.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
runs-on: ubuntu-latest
2626

2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2929
with:
3030
fetch-depth: 0
3131

32-
- uses: hynek/build-and-inspect-python-package@v2
32+
- uses: hynek/build-and-inspect-python-package@c52c3a4710070b50470d903818a7b25115dcd076 # v2.13.0
3333

3434
test-publish:
3535
needs: [dist]
@@ -42,12 +42,12 @@ jobs:
4242
if: github.event_name == 'release' && github.event.action == 'published'
4343

4444
steps:
45-
- uses: actions/download-artifact@v4
45+
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
4646
with:
4747
name: Packages
4848
path: dist
4949

50-
- uses: pypa/gh-action-pypi-publish@release/v1
50+
- uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
5151
if: github.event_name == 'release' && github.event.action == 'published'
5252
with:
5353
repository-url: https://test.pypi.org/legacy/
@@ -62,9 +62,9 @@ jobs:
6262
if: github.event_name == 'release' && github.event.action == 'published'
6363

6464
steps:
65-
- uses: actions/download-artifact@v4
65+
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
6666
with:
6767
name: Packages
6868
path: dist
6969

70-
- uses: pypa/gh-action-pypi-publish@release/v1
70+
- uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4

.github/workflows/ci.yml

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,12 @@ jobs:
2121
name: Format
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2525
- name: Install uv
26-
uses: astral-sh/setup-uv@v6
27-
with:
28-
enable-cache: true
29-
cache-dependency-glob: "uv.lock"
30-
- name: "Set up Python"
31-
uses: actions/setup-python@v5
32-
with:
33-
python-version-file: ".python-version"
26+
uses: astral-sh/setup-uv@557e51de59eb14aaaba2ed9621916900a91d50c6 # v6.6.1
3427
- name: Install the project
3528
run: uv sync --group nox
36-
- uses: pre-commit/action@v3.0.1
29+
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
3730
with:
3831
extra_args: --hook-stage manual --all-files
3932
- name: Run PyLint
@@ -54,26 +47,18 @@ jobs:
5447
runs-on: ubuntu-latest
5548

5649
steps:
57-
- uses: actions/checkout@v4
58-
50+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5951
- name: Install uv
60-
uses: astral-sh/setup-uv@v6
52+
uses: astral-sh/setup-uv@557e51de59eb14aaaba2ed9621916900a91d50c6 # v6.6.1
6153
with:
62-
enable-cache: true
63-
cache-dependency-glob: "uv.lock"
64-
65-
- name: Set up Python ${{ matrix.python-version }}
66-
run: uv python install ${{ matrix.python-version }}
67-
68-
- name: Install the project
69-
run: uv sync --group test
54+
python-version: ${{ matrix.python-version }}
7055

71-
- name: Test package
56+
- name: Run tests
7257
run: >-
73-
uv run pytest -ra --cov --cov-report=xml --cov-report=term
58+
uv run --group test pytest --cov --cov-report=xml --cov-report=term
7459
--durations=20
7560
7661
- name: Upload coverage report
77-
uses: codecov/codecov-action@v5.4.3
62+
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
7863
with:
7964
token: ${{ secrets.CODECOV_TOKEN }}

uv.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)