chore: migrate to gitea
Some checks failed
golangci-lint / lint (push) Failing after 1m12s
Test / test (push) Failing after 2m15s

This commit is contained in:
2026-01-27 00:15:21 +01:00
parent 33db360b03
commit 493ba9c515
3 changed files with 103 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
name: golangci-lint
on:
push:
pull_request:
permissions:
contents: read
# Optional: allow read access to pull requests. Use with `only-new-issues` option.
# pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # all history for all branches and tags
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
check-latest: true
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.3.1

27
.gitea/workflows/test.yml Normal file
View File

@@ -0,0 +1,27 @@
name: Test
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # all history for all branches and tags
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
check-latest: true
cache: false
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y make
- name: Run make check-all
run: make test