Skip to content

Adjust whitelist to whitelist addresses #126

Adjust whitelist to whitelist addresses

Adjust whitelist to whitelist addresses #126

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
paths:
- .github/workflows/rust.yml
- Cargo.toml
- Cargo.lock
- contracts/**
pull_request:
paths:
- .github/workflows/rust.yml
- Cargo.toml
- Cargo.lock
- contracts/**
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fmt
run: cargo fmt --all -- --check
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Clippy
run: cargo clippy --all --all-targets -- -D warnings
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
run: cargo test --verbose --no-fail-fast