Skip to content

Merge pull request #964 from risuorg/dependabot/github_actions/pypa/g… #558

Merge pull request #964 from risuorg/dependabot/github_actions/pypa/g…

Merge pull request #964 from risuorg/dependabot/github_actions/pypa/g… #558

Workflow file for this run

---
name: pre-commit
on:
pull_request:
push:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
- uses: actions/setup-go@v5
with:
go-version: '>=1.18'
- uses: actions/cache@v4
with:
path: |
~/.cache/pre-commit
key: ${{ runner.os }}-precommit-${{ hashFiles('**/.pre-commit-config.yaml/*') }}
restore-keys: |
${{ runner.os }}-precommit-
- uses: pre-commit/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}