Skip to content

Commit d736aad

Browse files
committed
🐛 actions/setup-python@v5
1 parent 3598a41 commit d736aad

File tree

14 files changed

+30
-16
lines changed

14 files changed

+30
-16
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
ref: ${{ github.ref }}
4242
fetch-depth: 0
4343
- name: Set up Python Environment
44-
uses: actions/setup-python@v4
44+
uses: actions/setup-python@v5
4545
with:
4646
python-version: "3.11"
4747
- name: Install Hatch

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
fetch-depth: 0
2020
- name: Set up Python Environment
21-
uses: actions/setup-python@v4
21+
uses: actions/setup-python@v5
2222
with:
2323
python-version: "3.11"
2424
- name: Install Hatch

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@ secrets in your GitHub repository to enable these features.
8585
- `DOCKER_USERNAME`: Your Docker Hub username (optional)
8686
- `DOCKER_TOKEN`: Your Docker Hub token (optional)
8787

88+
A `.env` file is provided in the project root for local development, to
89+
sync your secrets to GitHub, run the following command with the [GitHub CLI]:
90+
91+
```shell
92+
gh secret set --env-file .env
93+
```
94+
8895
#### Developing
8996

9097
This project generates its own documentation for how to use the

docs/index.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,13 @@ secrets in your GitHub repository to enable these features.
8585
- `DOCKER_USERNAME`: Your Docker Hub username (optional)
8686
- `DOCKER_TOKEN`: Your Docker Hub token (optional)
8787

88+
A `.env` file is provided in the project root for local development, to
89+
sync your secrets to GitHub, run the following command with the [GitHub CLI]:
90+
91+
```shell
92+
gh secret set --env-file .env
93+
```
94+
8895
#### Developing
8996

9097
This project generates its own documentation for how to use the

tests/example-project/.github/workflows/docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Docker Buildx
2222
uses: docker/setup-buildx-action@v3
2323
- name: Set up Python
24-
uses: actions/setup-python@v4
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: "3.11"
2727
- name: Install Hatch

tests/example-project/.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
with:
1414
fetch-depth: 0
1515
- name: Set up Python Environment
16-
uses: actions/setup-python@v4
16+
uses: actions/setup-python@v5
1717
with:
1818
python-version: "3.11"
1919
- name: Install Hatch

tests/example-project/.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
fetch-depth: 2
1818
- name: Set up Python
19-
uses: actions/setup-python@v4
19+
uses: actions/setup-python@v5
2020
with:
2121
python-version: "3.11"
2222
- name: Install Hatch
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
fetch-depth: 2
4545
- name: Set up Python
46-
uses: actions/setup-python@v4
46+
uses: actions/setup-python@v5
4747
with:
4848
python-version: "3.11"
4949
- name: Install Hatch

tests/example-project/.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Setup Node.js
2424
uses: actions/setup-node@v4
2525
- name: Set up Python
26-
uses: actions/setup-python@v4
26+
uses: actions/setup-python@v5
2727
with:
2828
python-version: "3.11"
2929
- name: Install Hatch
@@ -54,7 +54,7 @@ jobs:
5454
ref: ${{ github.ref }}
5555
fetch-depth: 0
5656
- name: Set up Python Environment
57-
uses: actions/setup-python@v4
57+
uses: actions/setup-python@v5
5858
with:
5959
python-version: "3.11"
6060
- name: Install Hatch

tests/example-project/.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
fetch-depth: 0
3939
- name: Set up Python Environment ${{ matrix.python }}
40-
uses: actions/setup-python@v4
40+
uses: actions/setup-python@v5
4141
with:
4242
python-version: ${{ matrix.python }}
4343
- name: Install Hatch

{{cookiecutter.repo_name}}/.github/workflows/docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Set up Docker Buildx
2222
uses: docker/setup-buildx-action@v3
2323
- name: Set up Python
24-
uses: actions/setup-python@v4
24+
uses: actions/setup-python@v5
2525
with:
2626
python-version: "{{ cookiecutter.default_python_version }}"
2727
- name: Install Hatch

0 commit comments

Comments
 (0)