Compare commits

..

2 Commits

Author SHA1 Message Date
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
+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@v4
- uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Run tests
run: go test -race -coverprofile=coverage.txt ./...
vulnerabilities:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
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@v4
- uses: buildtool/setup-buildtools-action@v1
- name: Build and push
run: unset GITEA_TOKEN && build && push