chore: migrate to gitea action

This commit is contained in:
2026-01-24 00:07:06 +01:00
parent 56134fc975
commit c75776b2f2
2 changed files with 24 additions and 23 deletions

24
.gitea/workflows/main.yml Normal file
View File

@@ -0,0 +1,24 @@
name: CI
on: [push]
jobs:
build:
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@v5
with:
go-version-file: go.mod
check-latest: true
- name: Building
run: go build .
- name: Testing
run: go test ./...

View File

@@ -1,23 +0,0 @@
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup Go for use with actions
uses: actions/setup-go@v2
with:
go-version: '1.14' # The Go version to download (if necessary) and use.
- name: Check out code
uses: actions/checkout@v1
- name: Building
run: go build .
- name: Testing
run: go test ./...