From 0fbde4244ba3c9d0d5e4ff42a042ccf480574160 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Ruel Date: Sun, 24 May 2020 20:51:19 -0400 Subject: [PATCH] Add GitHub actions Take inspiration from the workflows used in gohci and bootstrap but disable many checks because it's going to take a while to fix them all. Update go generate to make it work without prerequisites preinstalled. Remove the corresponding checks from .travis.yml. There are still checks that haven't been transitioned, this will be done in a follow up. --- devices/lepton/cci/cci.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/lepton/cci/cci.go b/devices/lepton/cci/cci.go index f420a2f..7225466 100644 --- a/devices/lepton/cci/cci.go +++ b/devices/lepton/cci/cci.go @@ -2,7 +2,7 @@ // Use of this source code is governed under the Apache License, Version 2.0 // that can be found in the LICENSE file. -// "stringer" can be installed with "go get golang.org/x/tools/cmd/stringer" +//go:generate go get golang.org/x/tools/cmd/stringer //go:generate stringer -output=strings_gen.go -type=CameraStatus,command,FFCShutterMode,FFCState,ShutterPos,ShutterTempLockoutState package cci