You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(ci): remove Go versions below 1.24 from CI matrix
Remove CI test runs for Go 1.21.x, 1.22.x, and 1.23.x as the minimum
supported version is 1.24.0 (as defined in go.mod).
This change:
- Removes outdated Go versions from the test matrix
- Aligns CI testing with the minimum supported version
- Reduces CI execution time by removing unnecessary test runs
- Maintains testing coverage for supported versions (1.24.x, 1.25.x)
fix(ci): remove impossible dependencies from docker job
The docker job runs on push events to master/develop branches, but it
was depending on docker-test and dependency-review jobs which only run
on pull_request events. This created an impossible dependency chain
that prevented the docker job from ever running.
This change:
- Removes docker-test and dependency-review from docker job dependencies
- Keeps only the test job as a dependency (which runs on both events)
- Allows docker build & push to run correctly on push events
- Maintains PR-specific checks (docker-test, dependency-review) for PRs
chore(tooling): add pre-commit configuration
Introduces a `.pre-commit-config.yaml` file to automate code quality checks before commits.
This configuration includes standard hooks for file hygiene (e.g., trailing whitespace, end-of-file fixes) and integrates `golangci-lint` to lint and format Go code on staged files. This helps enforce code style and catch issues early in the development process.
description: Fast linters runner for Go. Note that only modified files are linted, so linters like 'unused' that need to scan all files won't work as expected.
17
+
entry: golangci-lint run --new-from-rev HEAD --fix
18
+
types: [go]
19
+
language: golang
20
+
require_serial: true
21
+
pass_filenames: false
22
+
# - id: golangci-lint-full
23
+
# name: golangci-lint-full
24
+
# description: Fast linters runner for Go. Runs on all files in the module. Use this hook if you use pre-commit in CI.
25
+
# entry: golangci-lint run --fix
26
+
# types: [go]
27
+
# language: golang
28
+
# require_serial: true
29
+
# pass_filenames: false
30
+
- id: golangci-lint-fmt
31
+
name: golangci-lint-fmt
32
+
description: Fast linters runner for Go. Formats all files in the repo.
0 commit comments