Compare commits

..

10 Commits

Author SHA1 Message Date
argoyle ca3f1a3312 Merge pull request 'chore(deps): update pre-commit hook golangci/golangci-lint to v2.8.0' (#353) from renovate/golangci-golangci-lint-2.x into main
gitlab-cleanup-handler / vulnerabilities (push) Successful in 6m0s
gitlab-cleanup-handler / test (push) Successful in 7m3s
gitlab-cleanup-handler / build (push) Successful in 1m22s
Reviewed-on: #353
2026-01-09 04:12:49 +00:00
renovate 6a0854c2f9 chore(deps): update pre-commit hook golangci/golangci-lint to v2.8.0
gitlab-cleanup-handler / vulnerabilities (pull_request) Successful in 5m48s
gitlab-cleanup-handler / test (pull_request) Successful in 8m36s
gitlab-cleanup-handler / build (pull_request) Successful in 9m27s
2026-01-08 21:19:57 +00:00
argoyle 9a74ae6c11 Merge pull request 'chore(deps): update actions/checkout action to v6' (#352) from renovate/actions-checkout-6.x into main
gitlab-cleanup-handler / vulnerabilities (push) Successful in 5m8s
gitlab-cleanup-handler / test (push) Successful in 6m12s
gitlab-cleanup-handler / build (push) Successful in 4m6s
Reviewed-on: #352
2026-01-08 17:35:30 +00:00
renovate 390908eafb chore(deps): update actions/checkout action to v6
gitlab-cleanup-handler / vulnerabilities (pull_request) Successful in 9m44s
gitlab-cleanup-handler / test (pull_request) Successful in 15m12s
gitlab-cleanup-handler / build (pull_request) Successful in 5m26s
2026-01-08 16:16:22 +00:00
argoyle 0b96a1bac1 Merge pull request 'chore(deps): update actions/setup-go action to v6' (#351) from renovate/actions-setup-go-6.x into main
gitlab-cleanup-handler / vulnerabilities (push) Successful in 5m23s
gitlab-cleanup-handler / test (push) Successful in 9m33s
gitlab-cleanup-handler / build (push) Successful in 1m48s
Reviewed-on: #351
2026-01-08 15:21:49 +00:00
renovate 8c1ce0b400 chore(deps): update actions/setup-go action to v6
gitlab-cleanup-handler / vulnerabilities (pull_request) Successful in 2m27s
gitlab-cleanup-handler / test (pull_request) Successful in 6m24s
gitlab-cleanup-handler / build (pull_request) Successful in 7m56s
2026-01-08 15:05:12 +00:00
argoyle 4516a13531 Merge pull request 'feat: migrate from GitLab CI to Gitea Actions' (#350) from feat/gitea-actions into main
gitlab-cleanup-handler / vulnerabilities (push) Successful in 2m5s
gitlab-cleanup-handler / test (push) Successful in 2m28s
gitlab-cleanup-handler / build (push) Successful in 1m19s
Reviewed-on: #350
2026-01-08 14:52:59 +00:00
argoyle 70c5035304 feat: migrate from GitLab CI to Gitea Actions
gitlab-cleanup-handler / vulnerabilities (pull_request) Successful in 2m45s
gitlab-cleanup-handler / test (pull_request) Successful in 3m27s
gitlab-cleanup-handler / build (pull_request) Successful in 6m18s
2026-01-08 15:28:16 +01:00
argoyle 107551cbb6 Merge branch 'renovate/golang-1.25.5' into 'main'
chore(deps): update golang:1.25.5 docker digest to ad03ba9

See merge request unboundsoftware/gitlab-cleanup-handler!344
2025-12-30 16:40:38 +01:00
Renovate 0a4597bb9b chore(deps): update golang:1.25.5 docker digest to ad03ba9 2025-12-30 03:58:58 +00:00
3 changed files with 44 additions and 2 deletions
+42
View File
@@ -0,0 +1,42 @@
name: gitlab-cleanup-handler
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: 'stable'
- name: Run tests
run: go test -race -coverprofile=coverage.txt ./...
vulnerabilities:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: 'stable'
- name: Check vulnerabilities
run: |
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...
build:
needs: [test, vulnerabilities]
runs-on: ubuntu-latest
env:
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }}
GITEA_REPOSITORY: ${{ gitea.repository }}
steps:
- uses: actions/checkout@v6
- uses: buildtool/setup-buildtools-action@v1
- name: Build and push
run: unset GITEA_TOKEN && build && push
+1 -1
View File
@@ -36,6 +36,6 @@ repos:
- id: go-vet
- id: gofumpt
- repo: https://github.com/golangci/golangci-lint
rev: v2.7.2
rev: v2.8.0
hooks:
- id: golangci-lint
+1 -1
View File
@@ -1,4 +1,4 @@
FROM amd64/golang:1.25.5@sha256:0c27bcf0df81eca89f87e1e78be5ad5e36487f0eaf71cd900ba14ee7621d3e70 as build
FROM amd64/golang:1.25.5@sha256:ad03ba93327b8a6143b49373790b5d92c28067bdb814418509466122ee9c9e63 as build
WORKDIR /build
ENV CGO_ENABLED=0
ADD . /build