dependency: bump pre-commit from 4.6.1 to 4.6.2 #384
Workflow file for this run
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: New pull request received | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| inputs: | |
| git_rev: | |
| description: "git revision" | |
| required: false | |
| default: "" | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| ref: "${{ github.event.inputs.git_rev }}" | |
| submodules: true | |
| - name: Install the latest version of uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| version: "latest" | |
| - name: Install dependencies | |
| run: | | |
| uv --version | |
| uv sync | |
| - name: Check Python coding style | |
| run: | | |
| uv run inv style | |
| - name: Run tests | |
| run: | | |
| uv run inv test | |
| - name: Check whether pelican local pages is buildable | |
| run: | | |
| uv run inv build | |
| - name: Check whether pelican public pages is buildable | |
| run: | | |
| uv run inv build-publish |