fix: check reqwest response status code is 200 (#646) #869
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
| # This file is autogenerated by maturin v1.8.1 | |
| # To update, run | |
| # | |
| # maturin generate-ci github | |
| # | |
| name: CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - src/** | |
| - python/** | |
| - "*.toml" | |
| - ".github/workflows/*.yml" | |
| push: | |
| branches: [main] | |
| paths: | |
| - src/** | |
| - python/** | |
| - "*.toml" | |
| - ".github/workflows/*.yml" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| format-check: | |
| name: Check Python formatting | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.11 | |
| - name: Install Ruff | |
| run: | | |
| pip install ruff | |
| - name: Check Python formatting | |
| run: | | |
| ruff format --check . | |
| test: | |
| name: Run test | |
| uses: ./.github/workflows/_test.yml |