4 Commits

Author SHA1 Message Date
42bc11bf1a remove files
Some checks are pending
ci/woodpecker/push/go-lint Pipeline is pending
2023-07-22 01:12:29 -05:00
44e3d534f6 update CI configs
Some checks failed
ci/woodpecker/push/go-lint Pipeline failed
2023-07-21 22:49:23 -05:00
1fbe3282c8 add golangci-lint CI config
Some checks failed
ci/woodpecker/push/gitea unknown status
ci/woodpecker/push/publish-docs unknown status
ci/woodpecker/push/go-lint Pipeline failed
2023-07-21 20:42:14 -05:00
10a6342233 update error message 2023-07-21 20:29:07 -05:00
6 changed files with 8 additions and 14 deletions

View File

@ -1,4 +1,4 @@
pipeline: steps:
release: release:
image: goreleaser/goreleaser image: goreleaser/goreleaser
commands: commands:

5
.woodpecker/go-lint.yml Normal file
View File

@ -0,0 +1,5 @@
steps:
release:
image: golangci/golangci-lint:v1.53.3
commands:
- golangci-lint run -v

View File

@ -1,4 +1,4 @@
pipeline: steps:
build: build:
image: klakegg/hugo:ext-debian-ci image: klakegg/hugo:ext-debian-ci
commands: commands:

View File

@ -1,8 +0,0 @@
build:
go build
install:
go install .
goreleaser-snapshot:
goreleaser -f .goreleaser/gitea.yml release --snapshot --clean

View File

@ -1,3 +0,0 @@
# Plan
Find auth method, possibly using another package

View File

@ -412,7 +412,7 @@ func (remoteConfig *Host) GetProxyJumpConfig(hosts map[string]*Host, opts *Confi
// TODO: Add value/option to config for host key and add bool to check for host key // TODO: Add value/option to config for host key and add bool to check for host key
hostKeyCallback, err := knownhosts.New(khPath) hostKeyCallback, err := knownhosts.New(khPath)
if err != nil { if err != nil {
return errors.Wrap(err, "could not create hostkeycallback function") return fmt.Errorf("could not create hostkeycallback function: %v", err)
} }
remoteConfig.ClientConfig.HostKeyCallback = hostKeyCallback remoteConfig.ClientConfig.HostKeyCallback = hostKeyCallback
hosts[remoteConfig.Host] = remoteConfig hosts[remoteConfig.Host] = remoteConfig