diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 446371d..0f19509 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,11 +13,11 @@ jobs: lint-py: runs-on: ubuntu-latest timeout-minutes: 2 - # `jobs..defaults`: + # `jobs..defaults`: # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_iddefaultsrun - defaults: - run: - working-directory: "pysdk" + # defaults: + # run: + # working-directory: "pysdk" steps: - name: Check out the repo uses: actions/checkout@v3 @@ -76,7 +76,7 @@ jobs: mypy-static: runs-on: ubuntu-latest - # `jobs..defaults`: + # `jobs..defaults`: # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_iddefaultsrun defaults: run: diff --git a/.github/workflows/notebooks.yml b/.github/workflows/notebooks.yml index f21738e..30f3916 100644 --- a/.github/workflows/notebooks.yml +++ b/.github/workflows/notebooks.yml @@ -29,11 +29,6 @@ concurrency: jobs: tests: runs-on: ubuntu-latest - # `jobs..defaults`: - # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_iddefaultsrun - defaults: - run: - working-directory: "pysdk" env: # https://www.notion.so/nibiru/Resources-and-Repo-Configs-b31aa8074a2b419d80b0c946ed5efab0 DEVNET_NUMBER: ${{ secrets.DEVNET_NUMBER }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d5113c3..3ec732e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,11 +8,6 @@ jobs: build-n-publish: name: Build and publish Python 🐍 distributions 📦 to PyPI runs-on: ubuntu-latest - # `jobs..defaults`: - # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_iddefaultsrun - defaults: - run: - working-directory: "pysdk" steps: - uses: actions/checkout@main diff --git a/.github/workflows/pytests.yml b/.github/workflows/pytests.yml index 8c08c3a..22b87b5 100644 --- a/.github/workflows/pytests.yml +++ b/.github/workflows/pytests.yml @@ -27,11 +27,6 @@ concurrency: jobs: tests: runs-on: ubuntu-latest - # `jobs..defaults`: - # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_iddefaultsrun - defaults: - run: - working-directory: "pysdk" env: # https://www.notion.so/nibiru/Resources-and-Repo-Configs-b31aa8074a2b419d80b0c946ed5efab0 VALIDATOR_MNEMONIC: "guard cream sadness conduct invite crumble clock pudding hole grit liar hotel maid produce squeeze return argue turtle know drive eight casino maze host" @@ -64,7 +59,7 @@ jobs: uses: actions/cache@v2 with: path: ~/.local - key: poetry-2 # increment to reset cache + key: poetry-3 # increment to reset cache # ---------------------------------------------- # Install ping for early tests diff --git a/.github/workflows/scripts.yml b/.github/workflows/scripts.yml index 7afcca3..ee03ab7 100644 --- a/.github/workflows/scripts.yml +++ b/.github/workflows/scripts.yml @@ -1,4 +1,4 @@ -name: "py-sdk/scripts" +name: "scripts" on: pull_request: @@ -18,8 +18,8 @@ concurrency: jobs: localnet: - # The localnet job verifies that the repo's script for starting a local Nibiru - # chain runs without errors. + # The localnet job verifies that the repo's script for starting a local Nibiru + # chain runs without errors. runs-on: ubuntu-latest env: # https://www.notion.so/nibiru/Resources-and-Repo-Configs-b31aa8074a2b419d80b0c946ed5efab0 diff --git a/.github/workflows/testnet-notebook.yml b/.github/workflows/testnet-notebook.yml index aecc665..df8c33e 100644 --- a/.github/workflows/testnet-notebook.yml +++ b/.github/workflows/testnet-notebook.yml @@ -2,7 +2,9 @@ name: Colab notebook testing on: schedule: - - cron: "0 0 * * *" + # cron expression [minute hour day-of-month month day-of-week] + # - cron: "20 4 */4 * *" # Ex: Runs every 4 days at 04:20 UTC + - cron: "0 0 * * *" # Ex: Runs every 1 days at 00:00 UTC concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }} @@ -11,11 +13,6 @@ concurrency: jobs: tests: runs-on: ubuntu-latest - # `jobs..defaults`: - # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_iddefaultsrun - defaults: - run: - working-directory: "pysdk" env: # https://www.notion.so/nibiru/Resources-and-Repo-Configs-b31aa8074a2b419d80b0c946ed5efab0 DEVNET_NUMBER: ${{ secrets.DEVNET_NUMBER }}