Skip to content

Commit

Permalink
Test1
Browse files Browse the repository at this point in the history
  • Loading branch information
nsurfer committed Sep 11, 2019
1 parent f916ab6 commit 7f598e1
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,20 @@ on: [push]
jobs:
test:
runs-on: ubuntu-latest
container:
image: golang:1.13
env:
GO111MODULE: "off"
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: '1.13'
- name: Run tests
run: |
# This project needs to be built in the GOPATH.
mkdir --parents $(go env GOPATH)/src/github.com/nats-io
ln --symbolic $(pwd) $(go env GOPATH)/src/github.com/nats-io/prometheus-nats-exporter
cd $(go env GOPATH)/src/github.com/nats-io/prometheus-nats-exporter
export GO111MODULE="off"
unset GOFLAGS
echo "Installing deps"
go get -v github.com/nats-io/gnatsd
go get -v github.com/nats-io/go-nats
Expand Down

0 comments on commit 7f598e1

Please sign in to comment.