Skip to content

Commit be1558b

Browse files
⬆️ [upgraded_dependency] Updated copier template dependency (#21)
2 parents 1c040a2 + 5814e70 commit be1558b

File tree

6 files changed

+59
-52
lines changed

6 files changed

+59
-52
lines changed

.copier-answers.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# available at https://github.com/gt-sse-center/copier-UvScaffolding.
77
#
88

9-
_commit: v0.3.4
9+
_commit: v0.5.6
1010
_src_path: .
1111
author_email: github@DavidBrownell.com
1212
author_name: David Brownell
@@ -15,6 +15,7 @@ coverage_badge_gist_username: davidbrownell
1515
github_host: https://github.com
1616
github_repo_name: FileBackup
1717
github_username: davidbrownell
18+
install_ty: false
1819
license: MIT
1920
project_name: FileBackup
2021
python_package_name: FileBackup

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Steps to reproduce the behavior:
1515
1. Go to '...'
1616
2. Click on '....'
1717
3. Scroll down to '....'
18-
4. See error
18+
4. Invoke via '....'
19+
5. See error
1920

2021
## Expected behavior
2122
A clear and concise description of what you expected to happen.
@@ -25,7 +26,7 @@ If applicable, add screenshots to help explain your problem.
2526

2627
## Environment (please complete the following information):
2728
- OS: [e.g. iOS]
28-
- Python Version: [e.g. 3.13, 3.12, 3.11, etc.]
29+
- Python Version: [e.g. 3.14, 3.13, 3.12, 3.11, etc.]
2930
- FileBackup Version [e.g. 1.2.3]
3031

3132
## Additional context

.github/actions/release_impl/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ runs:
3232
using: composite
3333
steps:
3434
- name: Install uv and python
35-
uses: astral-sh/setup-uv@v5
35+
uses: astral-sh/setup-uv@v7
3636
with:
3737
enable-cache: false # No uv.lock or requirements.txt files, so nothing to cache on
3838

3939
- name: Download Artifacts
40-
uses: actions/download-artifact@v4
40+
uses: actions/download-artifact@v8
4141
with:
4242
path: dist
4343
merge-multiple: true
@@ -59,7 +59,7 @@ runs:
5959
# Commit code coverage
6060
- name: Create Code Coverage Badge
6161
if: ${{ inputs.coverage_badge_gist_token != '' && inputs.coverage_badge_gist_id != '' }}
62-
uses: schneegans/dynamic-badges-action@v1.7.0
62+
uses: schneegans/dynamic-badges-action@v1.8.0
6363
with:
6464
auth: ${{ inputs.coverage_badge_gist_token }}
6565
gistID: ${{ inputs.coverage_badge_gist_id }}
@@ -102,7 +102,7 @@ runs:
102102
103103
- name: Upload Signatures
104104
if: ${{ inputs.minisign_private_key != '' }}
105-
uses: actions/upload-artifact@v4
105+
uses: actions/upload-artifact@v6
106106
with:
107107
name: Minisign signatures
108108
path: ./dist/*.minisig

.github/workflows/CICD_impl.yml

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ jobs:
5858
contents: read
5959

6060
steps:
61-
- uses: actions/checkout@v4
61+
- uses: actions/checkout@v6
6262

6363
- name: Install uv and python
64-
uses: astral-sh/setup-uv@v5
64+
uses: astral-sh/setup-uv@v7
6565
with:
6666
python-version: ${{ matrix.python_version }}
6767
enable-cache: true
@@ -78,7 +78,7 @@ jobs:
7878
COVERAGE_FILE: .coverage.${{ matrix.os }}.${{ matrix.python_version }}
7979

8080
- name: Upload Coverage Data
81-
uses: actions/upload-artifact@v4
81+
uses: actions/upload-artifact@v6
8282
with:
8383
name: .coverage.${{ matrix.os }}.${{ matrix.python_version }}
8484
path: .coverage.${{ matrix.os }}.${{ matrix.python_version }}
@@ -98,18 +98,18 @@ jobs:
9898
contents: read
9999

100100
steps:
101-
- uses: actions/checkout@v4
101+
- uses: actions/checkout@v6
102102

103103
- name: Install uv and python
104-
uses: astral-sh/setup-uv@v5
104+
uses: astral-sh/setup-uv@v7
105105
with:
106106
enable-cache: true
107107

108108
- name: Install Dependencies
109109
run: uv sync --frozen
110110

111111
- name: Download Coverage Data
112-
uses: actions/download-artifact@v4
112+
uses: actions/download-artifact@v8
113113
with:
114114
merge-multiple: true
115115

@@ -126,7 +126,7 @@ jobs:
126126
echo "**Total coverage:** ${TOTAL}%" >> $GITHUB_STEP_SUMMARY
127127
128128
- name: Upload Coverage Data
129-
uses: actions/upload-artifact@v4
129+
uses: actions/upload-artifact@v6
130130
with:
131131
name: .coverage.json
132132
path: .coverage.json
@@ -147,12 +147,12 @@ jobs:
147147
contents: read
148148

149149
steps:
150-
- uses: actions/checkout@v4
150+
- uses: actions/checkout@v6
151151
with:
152152
fetch-depth: 0
153153

154154
- name: Install uv and python
155-
uses: astral-sh/setup-uv@v5
155+
uses: astral-sh/setup-uv@v7
156156
with:
157157
enable-cache: true
158158
python-version: ${{ inputs.python_package_version }}
@@ -180,7 +180,7 @@ jobs:
180180
echo "**Package Version:** ${PACKAGE_VERSION}" >> $GITHUB_STEP_SUMMARY
181181
182182
- name: Upload Python Package
183-
uses: actions/upload-artifact@v4
183+
uses: actions/upload-artifact@v6
184184
with:
185185
name: Python package
186186
path: dist/**
@@ -207,14 +207,17 @@ jobs:
207207

208208
steps:
209209
- name: Install uv and python
210-
uses: astral-sh/setup-uv@v5
210+
uses: astral-sh/setup-uv@v7
211211
with:
212212
python-version: ${{ matrix.python_version }}
213213
enable-cache: false # No uv.lock or requirements.txt files, so nothing to cache on
214214
ignore-empty-workdir: true
215215

216+
- name: Create a virtual environment (since pyproject.toml doesn't exist)
217+
run: uv venv
218+
216219
- name: Download Python Package
217-
uses: actions/download-artifact@v4
220+
uses: actions/download-artifact@v8
218221
with:
219222
name: Python package
220223
path: dist
@@ -245,10 +248,10 @@ jobs:
245248
contents: read
246249

247250
steps:
248-
- uses: actions/checkout@v4
251+
- uses: actions/checkout@v6
249252

250253
- name: Install uv and python
251-
uses: astral-sh/setup-uv@v5
254+
uses: astral-sh/setup-uv@v7
252255
with:
253256
python-version: ${{ inputs.python_package_version }}
254257
enable-cache: true
@@ -263,7 +266,7 @@ jobs:
263266
run: uv run python BuildBinary.py Bundle --custom-filename-suffix "-${{ env.PACKAGE_VERSION }}.${{ matrix.os }}" --verbose
264267

265268
- name: Upload Bundle
266-
uses: actions/upload-artifact@v4
269+
uses: actions/upload-artifact@v6
267270
with:
268271
name: Binary.${{ matrix.os }}
269272
path: FileBackup-${{ env.PACKAGE_VERSION }}.*
@@ -288,7 +291,7 @@ jobs:
288291

289292
steps:
290293
- name: Download Binary
291-
uses: actions/download-artifact@v4
294+
uses: actions/download-artifact@v8
292295
with:
293296
name: Binary.${{ matrix.os }}
294297
path: binary
@@ -329,11 +332,11 @@ jobs:
329332
contents: write # To tag the repository and create the release
330333

331334
steps:
332-
- uses: actions/checkout@v4
335+
- uses: actions/checkout@v6
333336

334337
- name: Has Release Changes?
335338
id: has_release_changes
336-
uses: dorny/paths-filter@v3
339+
uses: dorny/paths-filter@v4
337340
with:
338341
filters: ./.github/release_sources.yaml
339342

.github/workflows/codeql.yml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -50,38 +50,38 @@ jobs:
5050
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
5151

5252
steps:
53-
- name: Checkout repository
54-
uses: actions/checkout@v4
53+
- name: Checkout repository
54+
uses: actions/checkout@v6
5555

56-
# Initializes the CodeQL tools for scanning.
57-
- name: Initialize CodeQL
58-
uses: github/codeql-action/init@v3
59-
with:
60-
languages: ${{ matrix.language }}
61-
# If you wish to specify custom queries, you can do so here or in a config file.
62-
# By default, queries listed here will override any specified in a config file.
63-
# Prefix the list here with "+" to use these queries and those in the config file.
56+
# Initializes the CodeQL tools for scanning.
57+
- name: Initialize CodeQL
58+
uses: github/codeql-action/init@v4
59+
with:
60+
languages: ${{ matrix.language }}
61+
# If you wish to specify custom queries, you can do so here or in a config file.
62+
# By default, queries listed here will override any specified in a config file.
63+
# Prefix the list here with "+" to use these queries and those in the config file.
6464

65-
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
66-
# queries: security-extended,security-and-quality
65+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
66+
# queries: security-extended,security-and-quality
6767

6868

69-
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
70-
# If this step fails, then you should remove it and run the build manually (see below)
71-
- name: Autobuild
72-
uses: github/codeql-action/autobuild@v3
69+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
70+
# If this step fails, then you should remove it and run the build manually (see below)
71+
- name: Autobuild
72+
uses: github/codeql-action/autobuild@v4
7373

74-
# ℹ️ Command-line programs to run using the OS shell.
75-
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
74+
# ℹ️ Command-line programs to run using the OS shell.
75+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
7676

77-
# If the Autobuild fails above, remove it and uncomment the following three lines.
78-
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
77+
# If the Autobuild fails above, remove it and uncomment the following three lines.
78+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
7979

80-
# - run: |
81-
# echo "Run, Build Application using script"
82-
# ./location_of_script_within_repo/buildscript.sh
80+
# - run: |
81+
# echo "Run, Build Application using script"
82+
# ./location_of_script_within_repo/buildscript.sh
8383

84-
- name: Perform CodeQL Analysis
85-
uses: github/codeql-action/analyze@v3
86-
with:
87-
category: "/language:${{matrix.language}}"
84+
- name: Perform CodeQL Analysis
85+
uses: github/codeql-action/analyze@v4
86+
with:
87+
category: "/language:${{matrix.language}}"

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
**Development:**
1010
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
11+
[![ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
12+
[![pytest](https://img.shields.io/badge/pytest-enabled-brightgreen)](https://docs.pytest.org/)
1113
[![CI](https://github.com/davidbrownell/FileBackup/actions/workflows/CICD.yml/badge.svg)](https://github.com/davidbrownell/FileBackup/actions/workflows/CICD.yml)
1214
[![Code Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/davidbrownell/f15146b1b8fdc0a5d45ac0eb786a84f7/raw/FileBackup_code_coverage.json)](https://github.com/davidbrownell/FileBackup/actions)
1315
[![GitHub commit activity](https://img.shields.io/github/commit-activity/y/davidbrownell/FileBackup?color=dark-green)](https://github.com/davidbrownell/FileBackup/commits/main/)

0 commit comments

Comments
 (0)