Skip to content

Commit

Permalink
move linting and docker build into test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Petrausch committed Nov 1, 2020
1 parent 6de0a07 commit 3a658d3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 26 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/dockerimage.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/linting.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,16 @@ jobs:
run: go test ./...
- name: Vet
run: go vet ./...
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run golangci-lint
uses: actions-contrib/golangci-lint@v1
image-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag mqtt2prometheus:${GITHUB_REF##*/}

0 comments on commit 3a658d3

Please sign in to comment.