fix: publish stats to all client in interval to reduce load #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PI Monitor | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
- name: Build | |
run: make build | |
- name: Test | |
run: make test | |
- name: Set up golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
- name: Lint | |
run: make lint |