Files
teatea/.github/workflows/ci.yml
ssig33 4dfbead19f
All checks were successful
CI / test (pull_request) Successful in 24s
Update actions/checkout action to v7
2026-06-19 00:17:48 +00:00

35 lines
619 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: ["*"]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: "1.26"
- name: Install dependencies
run: go mod tidy
- 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