build(deps): bump actions/setup-go from 6 to 7 #197
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: Checks | |
| concurrency: | |
| group: checks-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| env: | |
| PYTHON_PATH: ./ | |
| jobs: | |
| checks: | |
| name: ${{ matrix.task.name }} | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| task: | |
| - name: Lint | |
| run: uv run ruff check cycletls | |
| - name: Type check | |
| run: uv run pyright cycletls | |
| - name: Build | |
| run: uv run python -m build --wheel | |
| - name: Style | |
| run: uv run ruff format --check cycletls | |
| - name: Docs | |
| run: cd docs && uv run make html | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup CycleTLS (Go build) | |
| uses: ./.github/actions/setup-cycletls | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: '3.12' | |
| enable-cache: true | |
| - name: Install dependencies | |
| run: uv sync --locked --all-extras --dev | |
| - name: ${{ matrix.task.name }} | |
| run: ${{ matrix.task.run }} | |
| - name: Upload package distribution files | |
| if: matrix.task.name == 'Build' | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: package | |
| path: dist |