Commit graph

18 commits

Author SHA1 Message Date
Dependency bot
e5320e1972 chore(deps): update pipelinecomponents/yamllint docker tag to v0.32.1 (#389)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [pipelinecomponents/yamllint](https://gitlab.com/pipeline-components/yamllint) | minor | `0.31.3` -> `0.32.1` |

---

### Release Notes

<details>
<summary>pipeline-components/yamllint (pipelinecomponents/yamllint)</summary>

### [`v0.32.1`](https://gitlab.com/pipeline-components/yamllint/compare/v0.32.0...v0.32.1)

[Compare Source](https://gitlab.com/pipeline-components/yamllint/compare/v0.32.0...v0.32.1)

### [`v0.32.0`](https://gitlab.com/pipeline-components/yamllint/compare/v0.31.3...v0.32.0)

[Compare Source](https://gitlab.com/pipeline-components/yamllint/compare/v0.31.3...v0.32.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/389
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2024-09-29 20:50:14 +00:00
Dependency bot
549377aa01 chore(deps): update docker.io/woodpeckerci/plugin-prettier docker tag to v0.2.0 (#385)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [docker.io/woodpeckerci/plugin-prettier](https://github.com/woodpecker-ci/plugin-prettier) | minor | `0.1.0` -> `0.2.0` |

---

### Release Notes

<details>
<summary>woodpecker-ci/plugin-prettier (docker.io/woodpeckerci/plugin-prettier)</summary>

### [`v0.2.0`](https://github.com/woodpecker-ci/plugin-prettier/blob/HEAD/CHANGELOG.md#020---2024-08-26)

[Compare Source](https://github.com/woodpecker-ci/plugin-prettier/compare/0.1.0...0.2.0)

##### ❤️ Thanks to all contributors! ❤️

[@&#8203;6543](https://github.com/6543), [@&#8203;qwerty287](https://github.com/qwerty287)

##### 📈 Enhancement

-   Allow to read version from lockfile \[[#&#8203;20](https://github.com/woodpecker-ci/plugin-prettier/pull/20)]

##### Misc

-   Update pipeline conf \[[#&#8203;41](https://github.com/woodpecker-ci/plugin-prettier/pull/41)]
-   \[pre-commit.ci] pre-commit autoupdate \[[#&#8203;40](https://github.com/woodpecker-ci/plugin-prettier/pull/40)]
-   Update woodpeckerci/plugin-ready-release-go Docker tag to v1.2.0 \[[#&#8203;39](https://github.com/woodpecker-ci/plugin-prettier/pull/39)]
-   Update woodpeckerci/plugin-docker-buildx Docker tag to v4.2.0 \[[#&#8203;38](https://github.com/woodpecker-ci/plugin-prettier/pull/38)]
-   Update woodpeckerci/plugin-docker-buildx Docker tag to v4.1.0 \[[#&#8203;37](https://github.com/woodpecker-ci/plugin-prettier/pull/37)]
-   Update pre-commit hook igorshubovych/markdownlint-cli to v0.41.0 \[[#&#8203;34](https://github.com/woodpecker-ci/plugin-prettier/pull/34)]
-   Update woodpeckerci/plugin-ready-release-go Docker tag to v1.1.2 \[[#&#8203;33](https://github.com/woodpecker-ci/plugin-prettier/pull/33)]
-   Update woodpeckerci/plugin-docker-buildx Docker tag to v4 \[[#&#8203;32](https://github.com/woodpecker-ci/plugin-prettier/pull/32)]
-   Update pre-commit hook igorshubovych/markdownlint-cli to v0.40.0 \[[#&#8203;30](https://github.com/woodpecker-ci/plugin-prettier/pull/30)]
-   Update woodpeckerci/plugin-ready-release-go Docker tag to v1.1.1 \[[#&#8203;29](https://github.com/woodpecker-ci/plugin-prettier/pull/29)]
-   Update pre-commit hook pre-commit/pre-commit-hooks to v4.6.0 \[[#&#8203;28](https://github.com/woodpecker-ci/plugin-prettier/pull/28)]
-   Update woodpeckerci/plugin-docker-buildx Docker tag to v3.2.1 \[[#&#8203;27](https://github.com/woodpecker-ci/plugin-prettier/pull/27)]
-   Update woodpeckerci/plugin-docker-buildx Docker tag to v3.2.0 \[[#&#8203;26](https://github.com/woodpecker-ci/plugin-prettier/pull/26)]
-   Update woodpeckerci/plugin-docker-buildx Docker tag to v3.1.0 \[[#&#8203;25](https://github.com/woodpecker-ci/plugin-prettier/pull/25)]
-   \[pre-commit.ci] pre-commit autoupdate \[[#&#8203;24](https://github.com/woodpecker-ci/plugin-prettier/pull/24)]
-   Update woodpeckerci/plugin-docker-buildx Docker tag to v3.0.1 \[[#&#8203;23](https://github.com/woodpecker-ci/plugin-prettier/pull/23)]
-   Update woodpeckerci/plugin-ready-release-go Docker tag to v1.1.0 \[[#&#8203;22](https://github.com/woodpecker-ci/plugin-prettier/pull/22)]

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/385
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2024-09-29 20:49:56 +00:00
Dependency bot
2d4152d18b chore(deps): update golangci/golangci-lint docker tag to v1.61.0 (#383)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [golangci/golangci-lint](https://github.com/golangci/golangci-lint) | minor | `v1.60.1` -> `v1.61.0` |

---

### Release Notes

<details>
<summary>golangci/golangci-lint (golangci/golangci-lint)</summary>

### [`v1.61.0`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1610)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.60.3...v1.61.0)

1.  Enhancements
    -   Add `junit-xml-extended` format
    -   Exclude Swagger Codegen files by default
2.  Updated linters
    -   `dupword`: from 0.0.14 to 0.1.1
    -   `fatcontext`: from 0.4.0 to 0.5.2
    -   `gci`: from 0.13.4 to 0.13.5 (new option `no-lex-order`)
    -   `go-ruleguard`: from 0.4.2 to [`0fe6f58`](https://github.com/golangci/golangci-lint/commit/0fe6f58b47b1) (fix panic with custom linters)
    -   `godot`: from 1.4.16 to 1.4.17
    -   `gomodguard`: from 1.3.3 to 1.3.5
    -   `gosec`: disable temporarily `G407`
    -   `gosec`: from [`ab3f6c1`](https://github.com/golangci/golangci-lint/commit/ab3f6c1c83a0) to 2.21.2 (partially fix `G115`)
    -   `intrange`: from 0.1.2 to 0.2.0
    -   `nolintlint`: remove the empty line in the directive replacement
3.  Misc.
    -   Improve runtime version parsing
4.  Documentation
    -   Add additional info about `typecheck`

### [`v1.60.3`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1603)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.60.2...v1.60.3)

1.  Updated linters
    -   `gosec`: from [`81cda2f`](https://github.com/golangci/golangci-lint/commit/81cda2f91fbe) to [`ab3f6c1`](https://github.com/golangci/golangci-lint/commit/ab3f6c1c83a0) (fix `G115` false positives)
2.  Misc.
    -   Check that the Go version use to build is greater or equals to the Go version of the project

### [`v1.60.2`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1602)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.60.1...v1.60.2)

1.  Updated linters

-   `gofmt`: update to HEAD (go1.22)
-   `gofumpt`: from 0.6.0 to 0.7.0
-   `gosec`: fix G602 analyzer
-   `gosec`: from [`5f0084e`](https://github.com/golangci/golangci-lint/commit/5f0084eb01a9) to [`81cda2f`](https://github.com/golangci/golangci-lint/commit/81cda2f91fbe) (adds `G115`, `G405`, `G406`, `G506`, `G507`)
-   `staticcheck`: from 0.5.0 to 0.5.1
-   `staticcheck`: propagate Go version
-   `wrapcheck`: from 2.8.3 to 2.9.0
-   ⚠️ `exportloopref`: deprecation

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/383
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2024-09-29 20:48:31 +00:00
Dependency bot
557a295732 chore(deps): update golangci/golangci-lint docker tag to v1.60.1 (#381)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [golangci/golangci-lint](https://github.com/golangci/golangci-lint) | minor | `v1.59.1` -> `v1.60.1` |

---

### Release Notes

<details>
<summary>golangci/golangci-lint (golangci/golangci-lint)</summary>

### [`v1.60.1`](https://github.com/golangci/golangci-lint/blob/HEAD/CHANGELOG.md#v1601)

[Compare Source](https://github.com/golangci/golangci-lint/compare/v1.59.1...v1.60.1)

1.  Updated linters
    -   `errorlint`: from 1.5.2 to 1.6.0
    -   `exhaustruct`: from 3.2.0 to 3.3.0 (recognize custom error values in return)
    -   `fatcontext`: from 0.2.2 to 0.4.0 (fix false positives for context stored in structs)
    -   `gocognit`: from 1.1.2 to 1.1.3
    -   `gomodguard`: from 1.3.2 to 1.3.3
    -   `govet` (`printf`): report non-constant format, no args
    -   `lll`: advertise max line length instead of just reporting failure
    -   `revive`: from 1.3.7 to 1.3.9 (new rule: `comments-density`)
    -   `sloglint`: from 0.7.1 to 0.7.2
    -   `spancheck`: from 0.6.1 to 0.6.2
    -   `staticcheck`: from 0.4.7 to 0.5.0
    -   `tenv`: from 1.7.1 to 1.10.0 (remove reports on fuzzing)
    -   `testifylint`: from 1.3.1 to 1.4.3 (new options: `formatter`, `suite-broken-parallel`, `suite-subtest-run`)
    -   `tparallel`: from 0.3.1 to 0.3.2
    -   `usestdlibvars`: from 1.26.0 to 1.27.0 (fix false-positive with number used inside a mathematical operations)
    -   `wsl`: from 4.2.1 to 4.4.1
    -   ️⚠️ `unused`: remove `exported-is-used` option
2.  Fixes
    -   SARIF: sanitize level property
    -   ️⚠️ `typecheck` issues should never be ignored
3.  Documentation
    -   Add link on linter without configuration
    -   Remove 'trusted by' page
    -   `wsl` update documentation of the configuration
4.  misc.
    -   🎉 go1.23 support

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/381
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2024-08-19 20:20:59 +00:00
crapStone
68825a1727 improve pipeline config (#371)
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/371
Co-authored-by: crapStone <me@crapstone.dev>
Co-committed-by: crapStone <me@crapstone.dev>
2024-07-23 20:32:46 +00:00
Dependency bot
d583587773 chore(deps): update mstruebing/editorconfig-checker docker tag to v3.0.3 (#360) 2024-07-08 00:52:53 +00:00
Dependency bot
4e44ea1d58 chore(deps): update pipelinecomponents/yamllint docker tag to v0.31.3 (#361) 2024-07-07 01:09:14 +00:00
Dependency bot
adcd973ade chore(deps): update golangci/golangci-lint docker tag to v1.59.1 (#357) 2024-06-16 01:04:41 +00:00
Dependency bot
05413e50c6 chore(deps): update golangci/golangci-lint docker tag to v1.59.0 (#345) 2024-05-30 00:43:46 +00:00
Dependency bot
885cfac2ec chore(deps): update golangci/golangci-lint docker tag to v1.58.2 (#341) 2024-05-26 01:26:39 +00:00
Dependency bot
69361c69c1 chore(deps): update pipelinecomponents/yamllint docker tag to v0.31.2 (#336) 2024-05-20 00:39:02 +00:00
Dependency bot
d74f1fe8a4 chore(deps): update golangci/golangci-lint docker tag to v1.58.1 (#333) 2024-05-12 00:55:23 +00:00
Dependency bot
adf13bfdbc chore(deps): update mstruebing/editorconfig-checker docker tag to v3 (#329)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| mstruebing/editorconfig-checker | major | `2.7.2` -> `v3.0.1` |

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - "before 4am" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDAuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM0MC41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: woodpecker-bot <woodpecker-bot@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/329
Co-authored-by: Dependency bot <renovate-bot@noreply.codeberg.org>
Co-committed-by: Dependency bot <renovate-bot@noreply.codeberg.org>
2024-05-07 09:09:27 +00:00
Dependency bot
7c49c4b967 chore(deps): update golangci/golangci-lint docker tag to v1.58.0 (#330) 2024-05-05 00:59:58 +00:00
pat-s
ca9433e0ea
run lint workflow on main branch to unblock build workflow 2024-04-29 14:48:00 +02:00
pat-s
8cba7f9c8a Add yamllint (#321)
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/321
Reviewed-by: crapStone <codeberg@crapstone.dev>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2024-04-28 21:48:07 +00:00
pat-s
f407fd3ae4 Add prettier config and format files (#319)
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/319
Reviewed-by: crapStone <codeberg@crapstone.dev>
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2024-04-28 20:47:04 +00:00
pat-s
e45a354eef CI modifications (#318)
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/318
Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-committed-by: pat-s <patrick.schratz@gmail.com>
2024-04-27 21:26:21 +00:00