File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed
Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff line change 1717
1818 steps :
1919 - uses : actions/checkout@v4
20- with :
21- fetch-depth : 0
22- ref : bump-version
2320
2421 - name : Set up Python ${{ matrix.python-version }}
2522 uses : actions/setup-python@v5
@@ -37,31 +34,18 @@ jobs:
3734
3835 - name : Check that formatting, linting, and tests pass for pydantic v1
3936 run : poetry run make ci-v1
37+
4038 - name : Check that formatting, linting, and tests pass for pydantic v2
4139 run : poetry run make ci-v2
4240
4341 - name : Build distribution
4442 run : poetry build
4543
46- - name : Configure git user
47- run : |
48- git config --global user.name 'BumpVersion[CI]'
49- git config --global user.email '[email protected] ' 50-
5144 - name : Bump to version
5245 run : poetry run make version version=${{ github.ref_name }}
5346
5447 - name : Commit new version
55- run : |
56- git commit -am "Update version to ${{ github.ref_name }}"
57- git push
58-
59- - name : Merge into master
60- run : |
61- git checkout master
62- git pull
63- git merge origin/bump-version
64- git push
48+ uses : EndBug/add-and-commit@v9
6549
6650 - name : Publish distribution to PyPI
6751 run : |
You can’t perform that action at this time.
0 commit comments