mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 13:47:19 +00:00
workflows: enable linter for example contracts
Avoid situations like 9f93123301
.
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
8ee13cc35e
commit
949ed4f2ea
1 changed files with 14 additions and 1 deletions
15
.github/workflows/tests.yml
vendored
15
.github/workflows/tests.yml
vendored
|
@ -14,8 +14,21 @@ on:
|
|||
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint
|
||||
name: 'Lint: NeoGo'
|
||||
uses: nspcc-dev/.github/.github/workflows/go-linter.yml@master
|
||||
|
||||
lint_examples:
|
||||
name: 'Lint: examples (${{ matrix.contract }})'
|
||||
uses: nspcc-dev/.github/.github/workflows/go-linter.yml@master
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
contract: [ 'engine', 'events', 'iterator', 'nft-d', 'nft-nd', 'nft-nd-nns', 'oracle',
|
||||
'runtime', 'storage', 'timer', 'token', 'zkp/cubic_circuit', 'zkp/xor_compat']
|
||||
with:
|
||||
workdir: examples/${{ matrix.contract }}
|
||||
|
||||
gomodcheck:
|
||||
name: Check internal dependencies
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in a new issue