test: deploy new account to sepolia #1
Workflow file for this run
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
name: account-deployment | ||
on: | ||
schedule: | ||
interval: "monthly" | ||
env: | ||
RUSTFLAGS: -D warnings | ||
RUST_BACKTRACE: 1 | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
jobs: | ||
test: | ||
if: ${{ !startsWith(github.head_ref, 'dependabot/') }} | ||
runs-on: ubuntu-latest | ||
env: | ||
BEERUS_TEST_RUN: 1 | ||
STARKNET_SEPOLIA_URL: https://starknet-sepolia.g.alchemy.com/starknet/version/rpc/v0_7/${{ secrets.ALCHEMY_KEY }} | ||
ACCOUNT_ADDRESS: ${{secrets.ACCOUNT_ADDRESS}} | ||
PRIVATE_KEY: ${{secrets.PRIVATE_KEY}} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dtolnay/rust-toolchain@stable | ||
- uses: Swatinem/rust-cache@v2 | ||
- run: rm -rf /opt/hostedtoolcache | ||
- run: cargo test deploy_account_on_sepolia |