Fix command dispatcher not running hooks, and add test #48
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
on: push | |
jobs: | |
build-and-push-image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '^1.20.1' # The Go version to download (if necessary) and use. | |
- name: Install pre-commit | |
run: | | |
pip install pre-commit | |
- name: Run pre-commit checks | |
run: | | |
pre-commit run --all-files |