Rely on continuous move will fix the PTZFunctions later #802
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: Go | |
on: | |
push: | |
branches: [ develop, master ] | |
pull_request: | |
branches: [ develop, master ] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
container: | |
image: kerberos/base:70d69dc | |
strategy: | |
matrix: | |
go-version: [1.17, 1.18, 1.19] | |
steps: | |
- name: Set up Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Get dependencies | |
run: cd machinery && go mod download | |
- name: Build | |
run: cd machinery && go build -v ./... | |
- name: Vet | |
run: cd machinery && go vet -v ./... | |
- name: Test | |
run: cd machinery && go test -v ./... |