test: add unit tests for getTLSConfig function #16
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: [push] | |
jobs: | |
pre-commit: | |
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: "1.22" | |
- 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.58.0 | |
go install mvdan.cc/gofumpt@latest | |
- uses: pre-commit/[email protected] | |
with: | |
extra_args: -a | |
- uses: pre-commit-ci/[email protected] | |
if: always() | |
with: | |
msg: | | |
chore(deps): [pre-commit.ci] auto fixes\n\nFor more information, see https://pre-commit.ci |