fix: fix unreadable formatting in sentry-reported logs #375
This file contains 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: ci | |
on: | |
pull_request: | |
branches: | |
- "main" | |
- "alpha" | |
push: | |
branches: | |
- "main" | |
- "alpha" | |
jobs: | |
commitlint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Commitlint | |
uses: wagoid/commitlint-github-action@v5 | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Compose Up | |
run: docker compose up -d | |
- name: Test | |
run: docker compose exec test poetry run pytest | |
- name: Compose Down | |
run: docker compose down | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12.3 | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Poetry Build | |
run: | | |
poetry check | |
poetry build | |
release: | |
runs-on: ubuntu-22.04 | |
if: github.event_name == 'push' | |
needs: | |
- commitlint | |
- build | |
- test | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup NodeJS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- name: Install semantic-release | |
run: npm i semantic-release@^23.0.0 conventional-changelog-conventionalcommits@^7.0.0 | |
- name: Release | |
env: | |
GITHUB_USERNAME: ${{ secrets.GH_USERNAME }} | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: npx semantic-release |