Bump undici from 5.26.3 to 5.28.3 (#116) #167
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Required variables set by GitHub environment secrets | |
# | |
# PREVIEWNET_OPERATOR_ID: Hedera previewnet operator account id | |
# PREVIEWNET_OPERATOR_KEY: Hedera previewnet operator private key | |
# TESTNET_OPERATOR_ID: Hedera testnet operator account id | |
# TESTNET_OPERATOR_KEY: Hedera testnet operator private key | |
name: Test | |
on: | |
push: | |
branches: [main] | |
tags: | |
- "*" | |
jobs: | |
Test: | |
environment: Test | |
runs-on: ubuntu-latest | |
env: | |
minimumHbarsToPass: 100 | |
minimumHbarsToFail: 100000 | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
- name: Test minimum passes | |
uses: si618/hedera-check-balance@v1.3 | |
with: | |
operator-id: ${{ secrets.TESTNET_OPERATOR_ID }} | |
operator-key: ${{ secrets.TESTNET_OPERATOR_KEY }} | |
minimum-balance: ${{ env.minimumHbarsToPass }} | |
- name: Test minimum fails but continues | |
uses: si618/hedera-check-balance@v1.3 | |
with: | |
operator-id: ${{ secrets.TESTNET_OPERATOR_ID }} | |
operator-key: ${{ secrets.TESTNET_OPERATOR_KEY }} | |
minimum-balance: ${{ env.minimumHbarsToFail }} | |
fail-action: false | |
- name: Test minimum passes with account-id | |
uses: si618/hedera-check-balance@v1.3 | |
with: | |
operator-id: ${{ secrets.TESTNET_OPERATOR_ID }} | |
operator-key: ${{ secrets.TESTNET_OPERATOR_KEY }} | |
minimum-balance: ${{ env.minimumHbarsToPass }} | |
account-id: ${{ secrets.TESTNET_OPERATOR_ID }} | |
- name: Test previewnet | |
uses: si618/hedera-check-balance@v1.3 | |
with: | |
hedera-network: "previewnet" | |
operator-id: ${{ secrets.PREVIEWNET_OPERATOR_ID }} | |
operator-key: ${{ secrets.PREVIEWNET_OPERATOR_KEY }} | |
minimum-balance: ${{ env.minimumHbarsToPass }} |