mirror of
https://github.com/tiennm99/claude-code-routine-cron.git
synced 2026-05-20 16:23:25 +00:00
30 lines
433 B
YAML
30 lines
433 B
YAML
name: test
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: '1.22'
|
|
cache: true
|
|
|
|
- name: vet
|
|
run: go vet ./...
|
|
|
|
- name: test
|
|
run: go test -race -cover ./...
|
|
|
|
- name: build
|
|
run: go build ./...
|