From ea0595f8cb1db9b43a971503c06f335847158f76 Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Fri, 9 Jan 2026 07:57:47 +0100 Subject: [PATCH] chore: migrate module path from GitLab to Gitea - Update go.mod module path to git.unbound.se/unboundsoftware/pagination - Remove GitLab CI linter from pre-commit config - Update go-imports local path for new domain - Remove GitLab badges from README - Delete .gitlab-ci.yml (Gitea Actions workflow already exists) --- .gitlab-ci.yml | 38 -------------------------------------- .pre-commit-config.yaml | 9 +-------- README.md | 3 --- go.mod | 2 +- 4 files changed, 2 insertions(+), 50 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 41806d3..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,38 +0,0 @@ -include: -- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml' -- project: unboundsoftware/ci-templates - file: Defaults.gitlab-ci.yml -- project: unboundsoftware/ci-templates - file: Release.gitlab-ci.yml -- project: unboundsoftware/ci-templates - file: Pre-Commit-Go.gitlab-ci.yml - -image: amd64/golang:1.25.5@sha256:ad03ba93327b8a6143b49373790b5d92c28067bdb814418509466122ee9c9e63 - -stages: -- deps -- test - -deps: - stage: deps - script: - - go mod download - -test: - stage: test - dependencies: - - deps - script: - - CGO_ENABLED=1 go test -mod=readonly -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=$(go list ./... | tr '\n' , | sed 's/,$//') ./... - - go tool cover -html=coverage.txt -o coverage.html - - go tool cover -func=coverage.txt - - curl -Os https://uploader.codecov.io/latest/linux/codecov - - chmod +x codecov - - ./codecov -t ${CODECOV_TOKEN} -R $CI_PROJECT_DIR -C $CI_COMMIT_SHA -r $CI_PROJECT_PATH - -vulnerabilities: - stage: test - image: amd64/golang:1.25.5@sha256:ad03ba93327b8a6143b49373790b5d92c28067bdb814418509466122ee9c9e63 - script: - - go install golang.org/x/vuln/cmd/govulncheck@latest - - govulncheck ./... diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4aa21a3..484321f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,13 +10,6 @@ repos: args: - --allow-multiple-documents - id: check-added-large-files -- repo: https://gitlab.com/devopshq/gitlab-ci-linter - rev: v1.0.6 - hooks: - - id: gitlab-ci-linter - args: - - --project - - unboundsoftware/pagination - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook rev: v9.23.0 hooks: @@ -30,7 +23,7 @@ repos: - id: go-imports args: - -local - - gitlab.com/unboundsoftware/shiny/presenter + - git.unbound.se/unboundsoftware - repo: https://github.com/lietu/go-pre-commit rev: v1.0.0 hooks: diff --git a/README.md b/README.md index c651ad4..d9ef766 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,3 @@ # Pagination helper Pagination helper - -[![Build Status](https://gitlab.com/unboundsoftware/pagination/badges/main/pipeline.svg)](https://gitlab.com/unboundsoftware/pagination/commits/main) -[![codecov](https://codecov.io/gl/unboundsoftware/pagination/branch/main/graph/badge.svg?token=AZ3AHHF0FS)](https://codecov.io/gl/unboundsoftware/pagination) diff --git a/go.mod b/go.mod index 2e1508b..169d255 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module gitlab.com/unboundsoftware/pagination +module git.unbound.se/unboundsoftware/pagination go 1.24.4 -- 2.52.0