integration test

This commit is contained in:
Casey Lee
2020-02-24 12:48:12 -08:00
parent 6c632946be
commit 037e08a3a7
12 changed files with 94 additions and 73 deletions

9
.github/workflows/lint/Dockerfile vendored Normal file
View File

@@ -0,0 +1,9 @@
FROM golangci/golangci-lint:v1.23.6
RUN apt-get install git
COPY "entrypoint.sh" "/entrypoint.sh"
RUN chmod +x /entrypoint.sh
ENV GOFLAGS -mod=vendor
ENTRYPOINT ["/entrypoint.sh"]

8
.github/workflows/lint/action.yml vendored Normal file
View File

@@ -0,0 +1,8 @@
name: Lint
description: Run static analysis
branding:
icon: check-circle
color: green
runs:
using: 'docker'
image: 'Dockerfile'

3
.github/workflows/lint/entrypoint.sh vendored Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
set -e
golangci-lint run