generate #791
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: generate | |
| on: | |
| schedule: | |
| - cron: "0 0 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| generate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup python | |
| uses: actions/setup-python@v5 | |
| - name: Install tox | |
| run: python -m pip install tox bumpver | |
| - name: bump version | |
| run: | | |
| git config user.email noreply@github.com | |
| git config user.name GitHub | |
| bumpver update --patch -n | |
| - name: generate | |
| run: | | |
| make clean | |
| make gen | |
| sudo chown -R $USER . | |
| - name: Format code using black | |
| uses: rickstaa/action-black@v1 | |
| id: action_black | |
| with: | |
| black_args: "koyeb/ test/" | |
| - name: Run test suite | |
| run: tox | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v3 | |
| with: | |
| body: | | |
| Auto-generated by [create-pull-request] |