Skip to content

Commit

Permalink
ci: lint stage
Browse files Browse the repository at this point in the history
  • Loading branch information
psmarcin committed Dec 28, 2020
1 parent 118fc55 commit 9084d86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Test
on: [push]
on: [ push ]
jobs:
build:
name: Build
Expand All @@ -14,6 +14,12 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: Install goimports
run: GO111MODULE=off go get golang.org/x/tools/cmd/goimports

- name: Lint
run: make lint

- name: Build
run: make build

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Use this url `https://yt.psmarcin.dev/feed/channel/UCblfuW_4rakIf2h6aqANefA` in
1. Docker, more: https://docs.docker.com/install/
1. Modd (auto restart), more https://github.com/cortesi/modd
1. Google Cloud Console or mocks
1. goimports: https://pkg.go.dev/golang.org/x/tools/cmd/goimports

### Environment variables
Example environment variables
Expand Down

0 comments on commit 9084d86

Please sign in to comment.