Skip to content

Commit

Permalink
Merge pull request #8 from databrickslabs/github-workflows
Browse files Browse the repository at this point in the history
added workflows
  • Loading branch information
stikkireddy committed Apr 23, 2020
2 parents 880e800 + 0020d9d commit 712a922
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/go.yml
@@ -0,0 +1,30 @@
name: Go

on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]

jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Run Linting Unit tests
run: |
# Install
curl -sSL "https://github.com/gotestyourself/gotestsum/releases/download/v0.4.2/gotestsum_0.4.2_linux_amd64.tar.gz" | sudo tar -xz -C /usr/local/bin gotestsum
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.25.0
make test

0 comments on commit 712a922

Please sign in to comment.