Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Commit

Permalink
👷 Add code linting to the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Addono committed Apr 20, 2020
1 parent 193a815 commit df86b7f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/continuous_integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
build:
name: Build
name: Build and Test
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -38,3 +38,13 @@ jobs:

- name: Run Tests
run: POSTGRES_USER=postgres POSTGRES_PASSWORD=postgres go test -v .

linting:
name: Linting
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Linting
run: docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.24.0 golangci-lint run -v

0 comments on commit df86b7f

Please sign in to comment.