Skip to content

Commit

Permalink
Implement releases: add setting up golangci-lint into GH actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
lesovsky committed Dec 19, 2020
1 parent e0f8c70 commit 82c7d58
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/default.yml
Expand Up @@ -11,6 +11,11 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Set up golangci-lint
run: |
wget -q https://github.com/golangci/golangci-lint/releases/download/v1.33.0/golangci-lint-1.33.0-linux-amd64.tar.gz
tar xvzf golangci-lint-1.33.0-linux-amd64.tar.gz
mv golangci-lint-1.33.0-linux-amd64/golangci-lint /usr/local/bin
- name: Checkout code
uses: actions/checkout@v2
- name: Run lint
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Expand Up @@ -9,6 +9,11 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Set up golangci-lint
run: |
wget -q https://github.com/golangci/golangci-lint/releases/download/v1.33.0/golangci-lint-1.33.0-linux-amd64.tar.gz
tar xvzf golangci-lint-1.33.0-linux-amd64.tar.gz
mv golangci-lint-1.33.0-linux-amd64/golangci-lint /usr/local/bin
- name: Checkout code
uses: actions/checkout@v2
- name: Run lint
Expand Down

0 comments on commit 82c7d58

Please sign in to comment.