Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit 9544714

Browse files
authored
Merge pull request #1 from epics-containers/merge-skeleton
Merge latest skeleton template
2 parents 470d3d5 + 2a803e6 commit 9544714

File tree

7 files changed

+30
-13
lines changed

7 files changed

+30
-13
lines changed

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"
12+
13+
- package-ecosystem: "pip"
14+
directory: "/"
15+
schedule:
16+
interval: "weekly"

.github/workflows/code.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ jobs:
4545
SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) pipx run build --sdist --wheel
4646
4747
- name: Upload Wheel and Sdist as artifacts
48-
uses: actions/upload-artifact@v2
48+
uses: actions/upload-artifact@v3
4949
with:
5050
name: dist
5151
path: dist
5252

5353
- name: Install minimum python version
54-
uses: actions/setup-python@v2
54+
uses: actions/setup-python@v4
5555
with:
5656
python-version: ${{ matrix.python }}
5757

@@ -91,7 +91,7 @@ jobs:
9191
fetch-depth: 0
9292

9393
- name: Setup python ${{ matrix.python }}
94-
uses: actions/setup-python@v2
94+
uses: actions/setup-python@v4
9595
with:
9696
python-version: ${{ matrix.python }}
9797

@@ -121,7 +121,7 @@ jobs:
121121

122122
- name: Upload build files
123123
if: matrix.lock
124-
uses: actions/upload-artifact@v2
124+
uses: actions/upload-artifact@v3
125125
with:
126126
name: buildfiles
127127
path: |
@@ -134,7 +134,7 @@ jobs:
134134
# upload to PyPI and make a release on every tag
135135
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
136136
steps:
137-
- uses: actions/download-artifact@v2
137+
- uses: actions/download-artifact@v3
138138
with:
139139
path: artifacts
140140

@@ -167,7 +167,7 @@ jobs:
167167
- name: Checkout
168168
uses: actions/checkout@v2
169169

170-
- uses: actions/download-artifact@v2
170+
- uses: actions/download-artifact@v3
171171
with:
172172
name: dist
173173
path: dist
@@ -182,7 +182,7 @@ jobs:
182182
183183
- name: Log in to GitHub Docker Registry
184184
if: github.event_name != 'pull_request'
185-
uses: docker/login-action@v1
185+
uses: docker/login-action@v2
186186
with:
187187
registry: ghcr.io
188188
username: ${{ github.actor }}
@@ -200,10 +200,10 @@ jobs:
200200
201201
- name: Set up Docker Buildx
202202
id: buildx
203-
uses: docker/setup-buildx-action@v1
203+
uses: docker/setup-buildx-action@v2
204204

205205
- name: Build runtime image
206-
uses: docker/build-push-action@v2
206+
uses: docker/build-push-action@v3
207207
with:
208208
file: .devcontainer/Dockerfile
209209
context: .

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: sleep 60
2727

2828
- name: Install python version
29-
uses: actions/setup-python@v2
29+
uses: actions/setup-python@v4
3030
with:
3131
python-version: ${{ matrix.python }}
3232

.github/workflows/linkcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
fetch-depth: 0
2727

2828
- name: Install python version
29-
uses: actions/setup-python@v2
29+
uses: actions/setup-python@v4
3030
with:
3131
python-version: ${{ matrix.python }}
3232

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,4 @@ target/
6666
/lightweight-venv/
6767
/installed.files
6868
.venv*
69+

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ setup_requires =
3232
[options.extras_require]
3333
# For development tests/docs
3434
dev =
35-
black==22.3.0
35+
black==22.6.0
3636
pipdeptree
3737
flake8-isort
3838
isort>5.0

src/python3_pip_skeleton/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def replace_text(text: str) -> str:
8787
# will do the wrong thing
8888
shutil.rmtree(git_tmp / "src", ignore_errors=True)
8989
# Merge in the skeleton commits
90-
git_tmp("pull", SKELETON, "skeleton")
90+
git_tmp("pull", SKELETON, "main")
9191
# Move things around
9292
git_tmp("mv", "src/python3_pip_skeleton", f"src/{package}")
9393
git_tmp("mv", "tests/test_dls_python3_skeleton.py", f"tests/test_{package}.py")

0 commit comments

Comments
 (0)