feat(e2e): add comprehensive end-to-end tests and improve CI workflows #355
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.ci | |
on: [pull_request] | |
jobs: | |
pre-commit: | |
name: Run pre-commit hooks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- name: Install go toolchain for pre-commit | |
run: | | |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.60.3 | |
go install mvdan.cc/gofumpt@latest | |
go install github.com/matryer/moq@latest | |
go install github.com/norwoodj/helm-docs/cmd/helm-docs@latest | |
- name: Run pre-commit | |
uses: pre-commit/action@v3.0.1 | |
- name: Run pre-commit.ci | |
uses: pre-commit-ci/lite-action@v1.1.0 | |
if: always() | |
with: | |
msg: | | |
chore(deps): [pre-commit.ci] auto fixes\n\nFor more information, see https://pre-commit.ci |