chore(deps): update libime digest to c8fa490 #1064
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: ci | |
| on: | |
| push: | |
| branches: | |
| - master | |
| tags: | |
| - 'macos-[0-9]+.*' | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| message: ${{ steps.commit-message.outputs.message }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: '3.14' | |
| - name: Install dependencies | |
| run: pip install ruff pyright dirhash | |
| - name: Lint | |
| run: | | |
| ruff check scripts | |
| pyright scripts/*.py | |
| - name: Pass commit message | |
| id: commit-message | |
| run: | | |
| if [[ "${{ github.event_name }}" == 'pull_request' ]]; then | |
| echo "message=${{ github.event.pull_request.title }}" >> "$GITHUB_OUTPUT" | |
| elif [[ "${{ github.ref }}" == 'refs/heads/master' ]]; then | |
| message=$(echo "${{ github.event.head_commit.message }}" | head -n 1) | |
| echo "message=$message" >> "$GITHUB_OUTPUT" | |
| else | |
| echo "message=!windows!js" >> "$GITHUB_OUTPUT" | |
| fi | |
| macos: | |
| if: "!contains(needs.lint.outputs.message, '!macos')" | |
| needs: lint | |
| uses: ./.github/workflows/macos.yml | |
| windows: | |
| if: "!contains(needs.lint.outputs.message, '!windows')" | |
| needs: lint | |
| uses: ./.github/workflows/windows.yml | |
| js: | |
| if: "!contains(needs.lint.outputs.message, '!js')" | |
| needs: lint | |
| uses: ./.github/workflows/js.yml |