build(deps): bump github.com/go-git/go-git/v5 from 5.8.1 to 5.10.1 #91
Workflow file for this run
This file contains 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: pre-commit | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3.5.3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
- name: Set up go | |
uses: actions/setup-go@v4 | |
- name: Install pre-commit and dependencies | |
run: | | |
pip install pre-commit | |
curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $(go env GOPATH)/bin latest | |
- name: Execute pre-commit | |
run: | | |
export PATH="${PATH}:$(go env GOPATH)/bin" | |
pre-commit run --all |