-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Release production_puya_smart_contract_python | ||
name: Release production_python_smart_contract_python | ||
|
||
on: | ||
workflow_call: | ||
|
@@ -8,8 +8,8 @@ on: | |
|
||
jobs: | ||
validate: | ||
name: Validate production_puya_smart_contract_python | ||
uses: ./.github/workflows/production-puya-smart-contract-python-ci.yaml | ||
name: Validate production_python_smart_contract_python | ||
uses: ./.github/workflows/production-python-smart-contract-python-ci.yaml | ||
deploy-testnet: | ||
runs-on: "ubuntu-latest" | ||
needs: validate | ||
|
@@ -31,7 +31,7 @@ jobs: | |
run: pipx install git+https://github.com/algorandfoundation/algokit-cli@feat/command_orchestration | ||
|
||
- name: Bootstrap dependencies | ||
run: algokit bootstrap all --project-name 'production_puya_smart_contract_python' | ||
run: algokit bootstrap all --project-name 'production_python_smart_contract_python' | ||
|
||
- name: Configure git | ||
shell: bash | ||
|
@@ -40,7 +40,7 @@ jobs: | |
git config --global user.email "[email protected]" && git config --global user.name "github-actions" | ||
- name: Deploy to testnet | ||
run: algokit deploy testnet --project-name 'production_puya_smart_contract_python' | ||
run: algokit deploy testnet --project-name 'production_python_smart_contract_python' | ||
env: | ||
# This is the account that becomes the creator of the contract | ||
DEPLOYER_MNEMONIC: ${{ secrets.DEPLOYER_MNEMONIC }} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Validate production_puya_smart_contract_python | ||
name: Validate production_python_smart_contract_python | ||
|
||
on: | ||
workflow_call: | ||
|
@@ -27,7 +27,7 @@ jobs: | |
run: algokit localnet start | ||
|
||
- name: Bootstrap dependencies | ||
run: algokit bootstrap all --project-name 'production_puya_smart_contract_python' | ||
run: algokit bootstrap all --project-name 'production_python_smart_contract_python' | ||
|
||
- name: Configure git | ||
shell: bash | ||
|
@@ -36,25 +36,25 @@ jobs: | |
git config --global user.email "[email protected]" && git config --global user.name "github-actions" | ||
- name: Audit python dependencies | ||
run: algokit project run audit --project-name 'production_puya_smart_contract_python' | ||
run: algokit project run audit --project-name 'production_python_smart_contract_python' | ||
|
||
- name: Lint and format python dependencies | ||
run: algokit project run lint --project-name 'production_puya_smart_contract_python' | ||
run: algokit project run lint --project-name 'production_python_smart_contract_python' | ||
|
||
- name: Run tests | ||
shell: bash | ||
run: | | ||
set -o pipefail | ||
algokit project run test --project-name 'production_puya_smart_contract_python' | ||
algokit project run test --project-name 'production_python_smart_contract_python' | ||
- name: Build smart contracts | ||
run: algokit project run build --project-name 'production_puya_smart_contract_python' | ||
run: algokit project run build --project-name 'production_python_smart_contract_python' | ||
|
||
- name: Scan TEAL files for issues | ||
run: algokit project run audit-teal --project-name 'production_puya_smart_contract_python' | ||
run: algokit project run audit-teal --project-name 'production_python_smart_contract_python' | ||
|
||
- name: Check output stability of the smart contracts | ||
run: algokit project run ci-teal-diff --project-name 'production_puya_smart_contract_python' | ||
run: algokit project run ci-teal-diff --project-name 'production_python_smart_contract_python' | ||
|
||
- name: Run deployer against LocalNet | ||
run: algokit project deploy localnet --project-name 'production_puya_smart_contract_python' | ||
run: algokit project deploy localnet --project-name 'production_python_smart_contract_python' |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Release production_puya_smart_contract_typescript | ||
name: Release production_python_smart_contract_typescript | ||
|
||
on: | ||
workflow_call: | ||
|
@@ -8,8 +8,8 @@ on: | |
|
||
jobs: | ||
validate: | ||
name: Validate production_puya_smart_contract_typescript | ||
uses: ./.github/workflows/production-puya-smart-contract-typescript-ci.yaml | ||
name: Validate production_python_smart_contract_typescript | ||
uses: ./.github/workflows/production-python-smart-contract-typescript-ci.yaml | ||
deploy-testnet: | ||
runs-on: "ubuntu-latest" | ||
needs: validate | ||
|
@@ -31,7 +31,7 @@ jobs: | |
run: pipx install git+https://github.com/algorandfoundation/algokit-cli@feat/command_orchestration | ||
|
||
- name: Bootstrap dependencies | ||
run: algokit bootstrap all --project-name 'production_puya_smart_contract_typescript' | ||
run: algokit bootstrap all --project-name 'production_python_smart_contract_typescript' | ||
|
||
- name: Configure git | ||
shell: bash | ||
|
@@ -40,7 +40,7 @@ jobs: | |
git config --global user.email "[email protected]" && git config --global user.name "github-actions" | ||
- name: Deploy to testnet | ||
run: algokit deploy testnet --project-name 'production_puya_smart_contract_typescript' | ||
run: algokit deploy testnet --project-name 'production_python_smart_contract_typescript' | ||
env: | ||
# This is the account that becomes the creator of the contract | ||
DEPLOYER_MNEMONIC: ${{ secrets.DEPLOYER_MNEMONIC }} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Validate production_puya_smart_contract_typescript | ||
name: Validate production_python_smart_contract_typescript | ||
|
||
on: | ||
workflow_call: | ||
|
@@ -27,7 +27,7 @@ jobs: | |
run: algokit localnet start | ||
|
||
- name: Bootstrap dependencies | ||
run: algokit bootstrap all --project-name 'production_puya_smart_contract_typescript' | ||
run: algokit bootstrap all --project-name 'production_python_smart_contract_typescript' | ||
|
||
- name: Configure git | ||
shell: bash | ||
|
@@ -36,25 +36,25 @@ jobs: | |
git config --global user.email "[email protected]" && git config --global user.name "github-actions" | ||
- name: Audit python dependencies | ||
run: algokit project run audit --project-name 'production_puya_smart_contract_typescript' | ||
run: algokit project run audit --project-name 'production_python_smart_contract_typescript' | ||
|
||
- name: Lint and format python dependencies | ||
run: algokit project run lint --project-name 'production_puya_smart_contract_typescript' | ||
run: algokit project run lint --project-name 'production_python_smart_contract_typescript' | ||
|
||
- name: Run tests | ||
shell: bash | ||
run: | | ||
set -o pipefail | ||
algokit project run test --project-name 'production_puya_smart_contract_typescript' | ||
algokit project run test --project-name 'production_python_smart_contract_typescript' | ||
- name: Build smart contracts | ||
run: algokit project run build --project-name 'production_puya_smart_contract_typescript' | ||
run: algokit project run build --project-name 'production_python_smart_contract_typescript' | ||
|
||
- name: Scan TEAL files for issues | ||
run: algokit project run audit-teal --project-name 'production_puya_smart_contract_typescript' | ||
run: algokit project run audit-teal --project-name 'production_python_smart_contract_typescript' | ||
|
||
- name: Check output stability of the smart contracts | ||
run: algokit project run ci-teal-diff --project-name 'production_puya_smart_contract_typescript' | ||
run: algokit project run ci-teal-diff --project-name 'production_python_smart_contract_typescript' | ||
|
||
- name: Run deployer against LocalNet | ||
run: algokit project deploy localnet --project-name 'production_puya_smart_contract_typescript' | ||
run: algokit project deploy localnet --project-name 'production_python_smart_contract_typescript' |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from pathlib import Path | ||
|
||
|
||
def find_app_spec_file(output_dir: Path) -> str | None: | ||
for file in output_dir.iterdir(): | ||
if file.is_file() and file.suffixes == [".arc32", ".json"]: | ||
return file.name | ||
return None |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
from pathlib import Path | ||
|
||
|
||
def find_app_spec_file(output_dir: Path) -> str | None: | ||
for file in output_dir.iterdir(): | ||
if file.is_file() and file.suffixes == [".arc32", ".json"]: | ||
return file.name | ||
return None |