Skip to content

Bump axios from 1.3.3 to 1.6.1 (#104) #157

Bump axios from 1.3.3 to 1.6.1 (#104)

Bump axios from 1.3.3 to 1.6.1 (#104) #157

Workflow file for this run

# 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 }}