Files
teatea/.github/workflows/ci.yml
ssig33 7e521046d8
All checks were successful
CI / test (push) Successful in 13s
update .github/workflows/ci.yml
2025-11-15 16:01:50 +09:00

35 lines
623 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: ["*"]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: Install dependencies
run: go mod download
- name: Run tests
run: go test -v ./...
- name: Build
run: go build -v ./...
- name: Upload APK as artifact
uses: https://github.com/christopherHX/gitea-upload-artifact@v4
with:
name: teatea-linux-amd64
path: teatea