mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-01-18 16:47:54 +00:00
905e76deed
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [golangci/golangci-lint](https://github.com/golangci/golangci-lint) | patch | `v1.62.0` -> `v1.62.2` | --- ### Release Notes <details> <summary>golangci/golangci-lint (golangci/golangci-lint)</summary> ### [`v1.62.2`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1622) [Compare Source](https://github.com/golangci/golangci-lint/compare/v1.62.0...v1.62.2) 1. Updated linters - `fatcontext`: from 0.5.2 to 0.5.3 - `ginkgolinter`: from 0.18.0 to 0.18.3 - `go-errorlint`: from 1.6.0 to 1.7.0 - `iface`: from 1.2.0 to 1.2.1 - `revive`: from 1.5.0 to 1.5.1 - `testifylint`: from 1.5.0 to 1.5.2 2. Misc. - fix: ignore cache error when file not found </details> --- ### Configuration 📅 **Schedule**: Branch creation - "* * * * 0,6" (UTC), Automerge - "* 0-3 * * *" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM5LjgyLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de> Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/408 Reviewed-by: crapStone <codeberg@crapstone.dev> Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org> Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
30 lines
705 B
YAML
30 lines
705 B
YAML
when:
|
|
- event: pull_request
|
|
branch:
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
steps:
|
|
lint:
|
|
depends_on: []
|
|
image: golangci/golangci-lint:v1.62.2
|
|
commands:
|
|
- go version
|
|
- go install mvdan.cc/gofumpt@latest
|
|
- "[ $(gofumpt -extra -l . | wc -l) != 0 ] && { echo 'code not formated'; exit 1; }"
|
|
- golangci-lint run --timeout 5m --build-tags integration
|
|
|
|
editor-config:
|
|
depends_on: []
|
|
image: mstruebing/editorconfig-checker:v3.0.3
|
|
|
|
yamllint:
|
|
image: pipelinecomponents/yamllint:0.33.0
|
|
depends_on: []
|
|
commands:
|
|
- yamllint .
|
|
|
|
prettier:
|
|
image: docker.io/woodpeckerci/plugin-prettier:0.2.0
|
|
depends_on: []
|
|
settings:
|
|
version: 3.2.5
|