Skip to content

Commit

Permalink
[#3] .Fix do it in one target
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasObenaus committed Feb 5, 2020
1 parent 35d3c09 commit 48e17ac
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,18 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Install linter
run: |
curl -sSfL https://github.com/raw/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.3
export PATH=$PATH:$(go env GOPATH)/bin
golangci-lint --version
- name: Build
run: make build

- name: Run the unit tests
run: make test

- name: Lint the code
run: make lint
- name: Install linter and lint the code
run: |
curl -sSfL https://github.com/raw/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.3
export PATH=$PATH:$(go env GOPATH)/bin
golangci-lint --version
make lint
- name: Start the local gremlin as preparation for the integration test
run: make infra.up
Expand Down

0 comments on commit 48e17ac

Please sign in to comment.