freeleaps-ops/3rd/load-watcher/.github/workflows/ci.yml
2025-03-19 15:59:37 +08:00

26 lines
373 B
YAML

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22
- name: Build
run: go build -o load-watcher main.go
- name: Test
run: go test ./...