pages-server/.woodpecker/lint.yml

31 lines
706 B
YAML
Raw Normal View History

when:
- event: pull_request
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
lint:
depends_on: []
chore(deps): update golangci/golangci-lint docker tag to v1.64.7 (#439) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [golangci/golangci-lint](https://github.com/golangci/golangci-lint) | patch | `v1.64.5` -> `v1.64.7` | --- ### Release Notes <details> <summary>golangci/golangci-lint (golangci/golangci-lint)</summary> ### [`v1.64.7`](https://github.com/golangci/golangci-lint/releases/tag/v1.64.7) [Compare Source](https://github.com/golangci/golangci-lint/compare/v1.64.6...v1.64.7) `golangci-lint` is a free and open-source project built by volunteers. If you value it, consider supporting us, the [maintainers](https://opencollective.com/golangci-lint) and [linter authors](https://golangci-lint.run/product/thanks/). We appreciate it! :heart: For key updates, see the [changelog](https://golangci-lint.run/product/changelog/#&#8203;1647). #### Changelog - [`94946f3`](https://github.com/golangci/golangci-lint/commit/94946f3c52a89774b2c7d255311c34f17f8fac7a) build(deps): bump github.com/OpenPeeDeeP/depguard/v2 from 2.2.0 to 2.2.1 ([#&#8203;5509](https://github.com/golangci/golangci-lint/issues/5509)) - [`132365e`](https://github.com/golangci/golangci-lint/commit/132365e252c985a191c6eaea3f0cc01ca9120ccc) build(deps): bump github.com/golangci/dupl from [`3e9179a`](https://github.com/golangci/golangci-lint/commit/3e9179ac440a) to [`f665c8d`](https://github.com/golangci/golangci-lint/commit/f665c8d69b32) ([#&#8203;5512](https://github.com/golangci/golangci-lint/issues/5512)) - [`bddd1bc`](https://github.com/golangci/golangci-lint/commit/bddd1bcedbc2f3d767e2362be91ff9eb481493cd) build(deps): bump github.com/securego/gosec/v2 from 2.22.1 to 2.22.2 ([#&#8203;5515](https://github.com/golangci/golangci-lint/issues/5515)) - [`624fb4e`](https://github.com/golangci/golangci-lint/commit/624fb4e717dc89f1b55d6a84a69355fe64d60036) build(deps): bump golang.org/x/mod from 0.23.0 to 0.24.0 ([#&#8203;5507](https://github.com/golangci/golangci-lint/issues/5507)) - [`8cffdb7`](https://github.com/golangci/golangci-lint/commit/8cffdb7d21e5b2b89f163f70c60ac9686c9d6180) build(deps): bump golang.org/x/oauth2 from 0.27.0 to 0.28.0 in /scripts/gen_github_action_config in the scripts group ([#&#8203;5521](https://github.com/golangci/golangci-lint/issues/5521)) - [`7a3f3d7`](https://github.com/golangci/golangci-lint/commit/7a3f3d7c941475ee01edca221c44ea5ba59290a3) build(deps): bump golang.org/x/tools from 0.30.0 to 0.31.0 ([#&#8203;5508](https://github.com/golangci/golangci-lint/issues/5508)) - [`c13fd5b`](https://github.com/golangci/golangci-lint/commit/c13fd5b7627c436246f36044a575990b5ec75c7d) build(deps): bump honnef.co/go/tools from 0.6.0 to 0.6.1 ([#&#8203;5510](https://github.com/golangci/golangci-lint/issues/5510)) ### [`v1.64.6`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1646) [Compare Source](https://github.com/golangci/golangci-lint/compare/v1.64.5...v1.64.6) 1. Linters bug fixes - `asciicheck`: from 0.4.0 to 0.4.1 - `contextcheck`: from 1.1.5 to 1.1.6 - `errcheck`: from 1.8.0 to 1.9.0 - `exptostd`: from 0.4.1 to 0.4.2 - `ginkgolinter`: from 0.19.0 to 0.19.1 - `go-exhaustruct`: from 3.3.0 to 3.3.1 - `gocheckcompilerdirectives`: from 1.2.1 to 1.3.0 - `godot`: from 1.4.20 to 1.5.0 - `perfsprint`: from 0.8.1 to 0.8.2 - `revive`: from 1.6.1 to 1.7.0 - `tagalign`: from 1.4.1 to 1.4.2 </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xOTEuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE5NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de> Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/439 Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org> Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2025-03-12 17:06:57 +00:00
image: golangci/golangci-lint:v1.64.7
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 10m --build-tags integration
editor-config:
depends_on: []
image: mstruebing/editorconfig-checker:v3.2.0
yamllint:
2024-12-29 20:10:49 +00:00
image: pipelinecomponents/yamllint:0.33.0
depends_on: []
commands:
- yamllint .
prettier:
chore(deps): update docker.io/woodpeckerci/plugin-prettier docker tag to v1.3.0 (#435) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [docker.io/woodpeckerci/plugin-prettier](https://codeberg.org/woodpecker-plugins/prettier) ([source](https://codeberg.org/woodpecker-plugins/prettier.git)) | minor | `1.1.0` -> `1.3.0` | --- ### Release Notes <details> <summary>woodpecker-plugins/prettier (docker.io/woodpeckerci/plugin-prettier)</summary> ### [`v1.3.0`](https://codeberg.org/woodpecker-plugins/prettier/blob/HEAD/CHANGELOG.md#130---2025-02-18) [Compare Source](https://codeberg.org/woodpecker-plugins/prettier/compare/1.2.1...1.3.0) ##### ❤️ Thanks to all contributors! ❤️ [@&#8203;OCram85](https://github.com/OCram85) ##### 📈 Enhancement - adds output parameter for prettier results \[[#&#8203;25](https://codeberg.org/woodpecker-plugins/prettier/pulls/25)] ### [`v1.2.1`](https://codeberg.org/woodpecker-plugins/prettier/blob/HEAD/CHANGELOG.md#121---2025-02-13) [Compare Source](https://codeberg.org/woodpecker-plugins/prettier/compare/1.1.0...1.2.1) ##### ❤️ Thanks to all contributors! ❤️ [@&#8203;woodpecker-bot](https://github.com/woodpecker-bot) ##### 📦️ Dependency - chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5.2.1 \[[#&#8203;24](https://codeberg.org/woodpecker-plugins/prettier/pulls/24)] - chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5.2.0 \[[#&#8203;22](https://codeberg.org/woodpecker-plugins/prettier/pulls/22)] - chore(deps): update woodpeckerci/plugin-ready-release-go docker tag to v3.1.3 \[[#&#8203;21](https://codeberg.org/woodpecker-plugins/prettier/pulls/21)] </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:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE3Ni40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de> Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/435 Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org> Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2025-03-12 23:16:56 +00:00
image: docker.io/woodpeckerci/plugin-prettier:1.3.0
depends_on: []
settings:
version: 3.2.5