d922441bec
* ci: add gosec to PRs and main * use informalsystems gosec * add SARIF * commit to test * comment changes Co-authored-by: Federico Kunze Küllmer <federico.kunze94@gmail.com> Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
31 lines
519 B
YAML
31 lines
519 B
YAML
name: contracts
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
|
|
jobs:
|
|
CI:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2.4.0
|
|
- name: Install node
|
|
uses: actions/setup-node@v2.4.1
|
|
with:
|
|
node-version: 12
|
|
- name: Install
|
|
run: yarn
|
|
- name: Lint
|
|
run: yarn lint
|
|
- name: Test
|
|
run: yarn test
|
|
- name: coverage
|
|
continue-on-error: true
|
|
run: yarn coverage
|
|
env:
|
|
CI: true
|