Merge pull request #458 from onc-healthit/HOTFIX-static-analysis-and-… #2235
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-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install golangci-lint\ | |
run: sudo snap install golangci-lint --classic | |
- name: Run Go Lintr | |
run: make lint_go | |
Rlintr: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
r-version: '4.1.3' | |
- name: Lint R Files | |
run: cd ./scripts && ./lintr.sh |