Skip to content

Commit

Permalink
chore: merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev committed Feb 21, 2024
1 parent 192e65f commit 524286e
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/production_puya/.github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ jobs:
- name: Build smart contracts
run: poetry run python -m smart_contracts build

- name: Scan TEAL files for issues
run: algokit task analyze .algokit --recursive --force # add --diff flag if you want output stability checks instead

- name: Check output stability of the smart contracts
shell: bash
run: |
Expand Down
2 changes: 2 additions & 0 deletions examples/production_puya/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,5 @@ node_modules

# AlgoKit
debug_traces/

.algokit/static-analysis/tealer/
10 changes: 10 additions & 0 deletions examples/production_puya/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,13 @@ repos:
minimum_pre_commit_version: '2.9.2'
files: '^(src|tests)/'

- id: tealer
name: tealer
description: "Run AlgoKit `Tealer` for TEAL static analysis"
entry: algokit
language: system
args: [task, analyze, ".algokit", "--recursive", "--force"]
require_serial: false
additional_dependencies: []
minimum_pre_commit_version: "0"
files: '^.*\.teal$'
15 changes: 15 additions & 0 deletions examples/production_puya/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,21 @@
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Analyze TEAL contracts with AlgoKit Tealer integration",
"command": "algokit",
"args": [
"task",
"analyze",
"${workspaceFolder}/.algokit",
"--recursive",
"--force"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
}
]
}
3 changes: 3 additions & 0 deletions examples/starter_puya/.github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ jobs:
- name: Build smart contracts
run: poetry run python -m smart_contracts build

- name: Scan TEAL files for issues
run: algokit task analyze .algokit --recursive --force # add --diff flag if you want output stability checks instead

- name: Check output stability of the smart contracts
shell: bash
run: |
Expand Down
2 changes: 2 additions & 0 deletions examples/starter_puya/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,5 @@ node_modules

# AlgoKit
debug_traces/

.algokit/static-analysis/tealer/
10 changes: 10 additions & 0 deletions examples/starter_puya/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,13 @@ repos:
minimum_pre_commit_version: '2.9.2'
files: '^(src|tests)/'

- id: tealer
name: tealer
description: "Run AlgoKit `Tealer` for TEAL static analysis"
entry: algokit
language: system
args: [task, analyze, ".algokit", "--recursive", "--force"]
require_serial: false
additional_dependencies: []
minimum_pre_commit_version: "0"
files: '^.*\.teal$'
15 changes: 15 additions & 0 deletions examples/starter_puya/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,21 @@
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"label": "Analyze TEAL contracts with AlgoKit Tealer integration",
"command": "algokit",
"args": [
"task",
"analyze",
"${workspaceFolder}/.algokit",
"--recursive",
"--force"
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
}
]
}

0 comments on commit 524286e

Please sign in to comment.