Skip to content

Commit

Permalink
build(ci): replace third-party shellcheck action (openlawteam#209)
Browse files Browse the repository at this point in the history
* replace third-party shellcheck action and use checkout@v2

* specify files to check

* name lint js job
  • Loading branch information
jdville03 authored May 7, 2020
1 parent e2bc69e commit 1616591
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,30 @@ name: Linters on push

jobs:
lint-js:
name: Run JS lints
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
with:
node-version: "10.x"
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- run: npm ci
- run: npm run lint
- run: npm run style

lint-shell:
runs-on: ubuntu-latest
name: Run shellcheck
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Shellcheck Lint
uses: azohra/[email protected]
- uses: actions/checkout@v2
- name: shellcheck
run: shellcheck ci/*.sh scripts/*.sh

lint-scala:
name: Run scalafmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: openlawteam/scalafmt-ci@v2

0 comments on commit 1616591

Please sign in to comment.