Add field stack light API and update PLC handling logic #127
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
on: [push, pull_request] | |
name: Build/Test | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.22.x | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Build | |
run: go build | |
- name: Test | |
run: go test ./... | |
- name: Check formatting | |
run: test -z "$(go fmt ./...)" |