update version due to failed pipeline commit #8
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: Main | |
| on: | |
| push: | |
| branches: main | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install tools | |
| uses: ./.github/actions/asdf_install | |
| - name: Test | |
| run: ./go library:check | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install tools | |
| uses: ./.github/actions/asdf_install | |
| - name: Test | |
| run: ./go library:test:all | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install tools | |
| uses: ./.github/actions/asdf_install | |
| - name: Test | |
| run: ./go library:build | |
| prerelease: | |
| runs-on: ubuntu-latest | |
| needs: [check, test, build] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install tools | |
| uses: ./.github/actions/asdf_install | |
| - name: Authenticate with PyPi | |
| run: ./go poetry:login_to_pypi[${{ secrets.PYPI_API_KEY }}] | |
| - name: Publish | |
| run: ./go library:publish:prerelease | |
| - name: Commit Release | |
| run: ./go repository:commit_release | |
| - name: Push Release Commit | |
| run: ./go repository:push |