Installed Homebrew and installed Go Lintr using Homebrew in Github ru… #2222
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Static Analysis | ||
on: [push] | ||
jobs: | ||
Golintr: | ||
name: Go Lintr | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
-name: Install Homebrew | ||
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | ||
- name: Install golangci-lint\ | ||
run: brew install golangci-lint | ||
- name: Run Go Lintr | ||
run: make lint_go | ||
Rlintr: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: r-lib/actions/setup-r@v2 | ||
- name: Lint R Files | ||
run: cd ./scripts && ./lintr.sh |