This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: switch from GitHub actions to Buildkite
- Loading branch information
Showing
8 changed files
with
56 additions
and
106 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
steps: | ||
- name: "Go build and test %n" | ||
command: make | ||
plugins: | ||
- docker-compose#v3.7.0: | ||
run: app | ||
|
||
- name: "Check licenses %n" | ||
command: make licensed | ||
plugins: | ||
- docker-compose#v3.7.0: | ||
run: licensing |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.PHONY: all | ||
all: build test lint | ||
|
||
.PHONY: test | ||
test: | ||
go test ./... | ||
|
||
.PHONY: build | ||
build: | ||
go build ./... | ||
|
||
.PHONY: lint | ||
lint: | ||
@go install honnef.co/go/tools/cmd/staticcheck@latest | ||
@staticcheck ./... | ||
|
||
.PHONY: licensed | ||
licensed: | ||
licensed cache | ||
licensed status | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: '2' | ||
|
||
services: | ||
app: | ||
image: golang:1.16.4 | ||
volumes: | ||
- .:/work | ||
working_dir: /work | ||
|
||
licensing: | ||
build: | ||
context: ./docker | ||
dockerfile: Dockerfile.licensed | ||
volumes: | ||
- .:/work | ||
working_dir: /work |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM golang:1.16-buster | ||
|
||
RUN apt-get update && apt-get upgrade -y | ||
RUN apt-get install -y ruby-dev rubygems ruby cmake pkg-config git-core libgit2-dev | ||
RUN gem install licensed |
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