chore: modify rust tool chain version #4578
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: Lint PR Name | |
| on: | |
| pull_request: | |
| types: ["opened", "edited", "reopened", "synchronize"] | |
| permissions: | |
| contents: read | |
| security-events: write | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-slim | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Dependencies | |
| run: | | |
| npm install @commitlint/config-conventional | |
| echo "module.exports = { extends: ['@commitlint/config-conventional'] };" > commitlint.config.js | |
| - name: Lint the PR Title | |
| run: | | |
| echo "${PR_TITLE}" | npx --yes commitlint | |
| env: | |
| PR_TITLE: "${{ github.event.pull_request.title }}" |