0
0
mirror of https://github.com/thegeeklab/wp-gitea-release.git synced 2024-11-24 13:00:40 +00:00

chore(deps): update dependency golangci/golangci-lint to v1.56.1 (#19)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
renovate[bot] 2024-02-12 09:09:14 +01:00 committed by GitHub
parent 7c5b42c481
commit 127b468730
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,7 @@
# renovate: datasource=github-releases depName=mvdan/gofumpt # renovate: datasource=github-releases depName=mvdan/gofumpt
GOFUMPT_PACKAGE_VERSION := v0.6.0 GOFUMPT_PACKAGE_VERSION := v0.6.0
# renovate: datasource=github-releases depName=golangci/golangci-lint # renovate: datasource=github-releases depName=golangci/golangci-lint
GOLANGCI_LINT_PACKAGE_VERSION := v1.55.2 GOLANGCI_LINT_PACKAGE_VERSION := v1.56.1
EXECUTABLE := wp-gitea-release EXECUTABLE := wp-gitea-release

View File

@ -137,7 +137,6 @@ func (p *Plugin) FlagsFromContext() error {
var err error var err error
files, err = writeChecksums(files, p.Settings.Checksum.Value()) files, err = writeChecksums(files, p.Settings.Checksum.Value())
if err != nil { if err != nil {
return fmt.Errorf("failed to write checksums: %w", err) return fmt.Errorf("failed to write checksums: %w", err)
} }

View File

@ -40,7 +40,6 @@ func (rc *releaseClient) buildRelease() (*gitea.Release, error) {
// if no release was found by that tag, create a new one // if no release was found by that tag, create a new one
release, err = rc.newRelease() release, err = rc.newRelease()
if err != nil { if err != nil {
return nil, fmt.Errorf("failed to retrieve or create a release: %w", err) return nil, fmt.Errorf("failed to retrieve or create a release: %w", err)
} }