Skip to content

Commit c65f3c0

Browse files
chore(ci): bump the github-actions group with 8 updates (#52)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: J. Nick Koston <[email protected]>
1 parent b63c91b commit c65f3c0

File tree

7 files changed

+595
-554
lines changed

7 files changed

+595
-554
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -14,99 +14,84 @@ jobs:
1414
lint:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
18-
- uses: actions/setup-python@v3
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-python@v5
1919
with:
20-
python-version: "3.9"
21-
- uses: pre-commit/action@v2.0.3
20+
python-version: "3.11"
21+
- uses: pre-commit/action@v3.0.1
2222

2323
# Make sure commit messages follow the conventional commits convention:
2424
# https://www.conventionalcommits.org
2525
commitlint:
2626
name: Lint Commit Messages
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v4
3030
with:
3131
fetch-depth: 0
32-
- uses: wagoid/commitlint-github-action@v5
32+
- uses: wagoid/commitlint-github-action@v6.2.1
3333

3434
test:
3535
strategy:
3636
fail-fast: false
3737
matrix:
3838
python-version:
39-
- "3.9"
40-
- "3.10"
4139
- "3.11"
4240
- "3.12"
41+
- "3.13"
4342
os:
4443
- ubuntu-latest
4544
runs-on: ${{ matrix.os }}
4645
steps:
47-
- uses: actions/checkout@v3
46+
- uses: actions/checkout@v4
47+
- uses: snok/install-poetry@v1
4848
- name: Set up Python
49-
uses: actions/setup-python@v3
49+
uses: actions/setup-python@v5
5050
with:
5151
python-version: ${{ matrix.python-version }}
52-
- uses: snok/install-poetry@v1
52+
cache: "poetry"
5353
- name: Install Dependencies
5454
run: poetry install
5555
- name: Test with Pytest
5656
run: poetry run pytest --cov-report=xml
5757
- name: Upload coverage to Codecov
58-
uses: codecov/codecov-action@v3
58+
uses: codecov/codecov-action@v5
5959
with:
6060
token: ${{ secrets.CODECOV_TOKEN }}
6161

6262
release:
6363
runs-on: ubuntu-latest
6464
environment: release
65-
concurrency: release
66-
permissions:
67-
id-token: write
68-
contents: write
6965
if: github.ref == 'refs/heads/main'
7066
needs:
7167
- test
7268
- lint
7369
- commitlint
70+
permissions:
71+
id-token: write
72+
contents: write
7473

7574
steps:
75+
- uses: actions/checkout@v4
76+
with:
77+
fetch-depth: 0
78+
7679
# Run semantic release:
7780
# - Update CHANGELOG.md
7881
# - Update version in code
7982
# - Create git tag
8083
# - Create GitHub release
81-
# - Publish to PyPI
82-
- uses: actions/checkout@v4
83-
with:
84-
fetch-depth: 0
85-
ref: ${{ github.head_ref || github.ref_name }}
86-
87-
# Do a dry run of PSR
88-
- name: Test release
89-
uses: python-semantic-release/[email protected]
90-
if: github.ref_name != 'main'
91-
with:
92-
root_options: --noop
93-
94-
# On main branch: actual PSR + upload to PyPI & GitHub
95-
- name: Release
96-
uses: python-semantic-release/[email protected]
84+
- name: Python Semantic Release
9785
id: release
98-
if: github.ref_name == 'main'
86+
uses: python-semantic-release/[email protected]
9987
with:
10088
github_token: ${{ secrets.GITHUB_TOKEN }}
101-
102-
- name: Publish package distributions to PyPI
89+
- name: Upload package to PyPI
10390
uses: pypa/gh-action-pypi-publish@release/v1
104-
# NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.
105-
# See https://github.com/actions/runner/issues/1173
10691
if: steps.release.outputs.released == 'true'
107-
108-
- name: Publish package distributions to GitHub Releases
109-
uses: python-semantic-release/upload-to-gh-release@main
92+
- name: Upload Github Release Assets
93+
uses: python-semantic-release/[email protected]
11094
if: steps.release.outputs.released == 'true'
11195
with:
11296
github_token: ${{ secrets.GITHUB_TOKEN }}
97+
tag: ${{ steps.release.outputs.tag }}

.github/workflows/hacktoberfest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: browniebroke/hacktoberfest-labeler-action@v2.2.0
15+
- uses: browniebroke/hacktoberfest-labeler-action@v2.3.0
1616
with:
1717
github_token: ${{ secrets.GH_PAT }}

.github/workflows/issue-manager.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
issue-manager:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: tiangolo/issue-manager@0.4.0
21+
- uses: tiangolo/issue-manager@0.5.1
2222
with:
2323
token: ${{ secrets.GITHUB_TOKEN }}
2424
config: >

.github/workflows/labels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
labels:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
- name: Set up Python
16-
uses: actions/setup-python@v3
16+
uses: actions/setup-python@v5
1717
with:
1818
python-version: 3.8
1919
- name: Install labels
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module.exports = {
1+
export default {
22
extends: ["@commitlint/config-conventional"],
33
rules: {
44
"header-max-length": [0, "always", Infinity],

0 commit comments

Comments
 (0)