Skip to content

Node id from cert

Node id from cert #82

Workflow file for this run

---
name: CI
on:
pull_request:
branches:
- main
types:
- opened
- reopened
- synchronize
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Template tests config file
run: |
envsubst < crates/ash_sdk/tests/conf/quicknode.yml > ${{ runner.temp }}/ash-test-avax-conf.yml
env:
ASH_QUICKNODE_FUJI_ENDPOINT: ${{ secrets.ASH_QUICKNODE_FUJI_ENDPOINT }}
ASH_QUICKNODE_FUJI_TOKEN: ${{ secrets.ASH_QUICKNODE_FUJI_TOKEN }}
- name: Install avalanche-cli
run: |
curl -sSfL https://raw.githubusercontent.com/ava-labs/avalanche-cli/main/scripts/install.sh | sh -s
- name: Start a local Avalanche network
run: |
# Workaround for avoiding metrics collection prompt
echo "" | ~/bin/avalanche config metrics disable
~/bin/avalanche network start
- name: Setup cache for Rust
uses: Swatinem/rust-cache@v2
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: -- --include-ignored
env:
AVAX_TEST_AVAX_CONFIG: ${{ runner.temp }}/ash-test-avax-conf.yml