air-sensors

Air Quality Sensor library
git clone https://www.brianlane.com/git/air-sensors
Log | Files | Refs | README | LICENSE

commit ffa038643c4026950e4cd4d5be70aede7ca32012
parent 102b6c17f241737ae877acc6c02122decb980ff6
Author: Brian C. Lane <bcl@users.noreply.github.com>
Date:   Fri, 28 May 2021 15:19:48 -0700

Create go.yml
Diffstat:
A.github/workflows/go.yml | 25+++++++++++++++++++++++++
1 file changed, 25 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml @@ -0,0 +1,25 @@ +name: Go + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.15 + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./...