File tree Expand file tree Collapse file tree 6 files changed +16
-32
lines changed
[% if repo_host_type == 'github.com' %].github[% endif %]/workflows Expand file tree Collapse file tree 6 files changed +16
-32
lines changed Original file line number Diff line number Diff line change @@ -35,14 +35,14 @@ jobs:
3535 run : |
3636 git config --global user.name github-actions
3737 git config --global user.email [email protected] 38- - name : Set up Python ${{ matrix.python-version }}
38+ - name : Set up Python
3939 uses : actions/setup-python@v4
4040 with :
4141 cache : pip
42- python-version : ${{ matrix.python-version }}
42+ python-version : ' 3.11 '
4343 - run : env | sort
44- - name : Install copier for template rendering
45- run : python -m pip install --user copier
44+ - name : Install copier for template rendering using pipx
45+ run : pipx install copier
4646 - name : Generate the project with the default value
4747 run : |
4848 find . -maxdepth 1 | grep -vE "(\.|template|includes|\.git|copier\.yaml)$" | xargs -I {} rm -r {}
5353 - run : git diff
5454 - run : git status --porcelain
5555 - run : test -z "$(git status --porcelain)"
56- strategy :
57- matrix :
58- python-version :
59- - ' 3.8'
60- - ' 3.9'
61- - ' 3.10'
62- - ' 3.11'
6356 dependabot :
6457 if : ${{ github.actor == 'dependabot[bot]' }}
6558 permissions :
Original file line number Diff line number Diff line change 33.DS_Store
44.copier-answers.yml
55Pipfile
6+ docs /changelog.md
67public
8+ release-notes.md
79
810# Byte-compiled / optimized / DLL files
911__pycache__ /
Original file line number Diff line number Diff line change 3535 .ruff_cache \
3636 Pipfile* \
3737 coverage.xml \
38- dist
38+ dist \
39+ release-notes.md
3940 find . -name ' *.egg-info' -print0 | xargs -0 rm -rf
4041 find . -name ' *.pyc' -print0 | xargs -0 rm -f
4142 find . -name ' *.swp' -print0 | xargs -0 rm -f
Original file line number Diff line number Diff line change 55.copier-answers.yml
66[%- endif %]
77Pipfile
8+ docs/changelog.md
89public
10+ release-notes.md
911
1012# Byte-compiled / optimized / DLL files
1113__pycache__/
Original file line number Diff line number Diff line change 3838 .ruff_cache \
3939 Pipfile* \
4040 coverage.xml \
41- dist
41+ dist \
42+ release-notes.md
4243 find . -name '*.egg-info' -print0 | xargs -0 rm -rf
4344 find . -name '*.pyc' -print0 | xargs -0 rm -f
4445 find . -name '*.swp' -print0 | xargs -0 rm -f
Original file line number Diff line number Diff line change @@ -45,14 +45,14 @@ jobs:
4545 run: |
4646 git config --global user.name github-actions
4747 git config --global user.email
[email protected] 48- - name: Set up Python {{ '${{ matrix.python-version }}' }}
48+ - name: Set up Python
4949 uses: actions/setup-python@v4
5050 with:
5151 cache: pip
52- python-version: {{ '$ {{ matrix.python-version }}' }}
52+ python-version: ' {{ default_py }}'
5353 - run: env | sort
54- - name: Install copier for template rendering
55- run: python -m pip install --user copier
54+ - name: Install copier for template rendering using pipx
55+ run: pipx install copier
5656 - name: Generate the project with the default value
5757 run: |
5858 find . -maxdepth 1 | grep -vE "(\.|template|includes|\.git|copier\.yaml)$" | xargs -I {} rm -r {}
6363 - run: git diff
6464 - run: git status --porcelain
6565 - run: test -z "$(git status --porcelain)"
66- strategy:
67- matrix:
68- python-version:
69- [%- if version_between("3.8", min_py, max_py) %]
70- - '3.8'
71- [%- endif %]
72- [%- if version_between("3.9", min_py, max_py) %]
73- - '3.9'
74- [%- endif %]
75- [%- if version_between("3.10", min_py, max_py) %]
76- - '3.10'
77- [%- endif %]
78- [%- if version_between("3.11", min_py, max_py) %]
79- - '3.11'
80- [%- endif %]
8166[%- endif %]
8267 dependabot:
8368 if: {{ '${{ github.actor == \'dependabot[bot] \' }}' }}
You can’t perform that action at this time.
0 commit comments