chore: migrate into Github Actions

Replace Travis CI integration in favor of Github Actions.
This commit is contained in:
Chris Lane
2021-04-28 17:11:07 -04:00
parent eb9b3e7798
commit d237d98c15
5 changed files with 65 additions and 57 deletions

View File

@ -40,17 +40,13 @@ releases := \
## build: build an executable for your architecture
.PHONY: build
build: $(dist_dir) clean vendor generate man
build: $(dist_dir) clean fmt lint vet vendor generate man
$(GO) build $(BUILD_FLAGS) -o $(dist_dir)/cheat $(cmd_dir)
## build-release: build release executables
.PHONY: build-release
build-release: $(releases)
## ci: build a "release" executable for the current architecture (used in ci)
.PHONY: ci
ci: | setup prepare build
# cheat-darwin-amd64
$(dist_dir)/cheat-darwin-amd64: prepare
GOARCH=amd64 GOOS=darwin \