Skip to content

chore(deps): bump actions/checkout from 3 to 4 #47

chore(deps): bump actions/checkout from 3 to 4

chore(deps): bump actions/checkout from 3 to 4 #47

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
static_analysis:
name: Static Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
- name: Run format
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --workspace --all-targets --all-features -- -D warnings
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
monero: [ 0.17.3.0, 0.17.3.2, 0.18.0.0 ]
services:
monerod:
image: ghcr.io/farcaster-project/containers/monerod:${{ matrix.monero }}
env:
NETWORK: regtest
MONEROD_RPC_PORT: 18081
MONEROD_ZMQ_PORT: 18082
OFFLINE: --offline
DIFFICULTY: 1
ports:
- 18081:18081
- 18082:18082
monero-wallet-rpc:
image: ghcr.io/farcaster-project/containers/monero-wallet-rpc:${{ matrix.monero }}
env:
MONERO_DAEMON_ADDRESS: monerod:18081
MONERO_DAEMON_HOST: monerod:18081
WALLET_RPC_PORT: 18083
ports:
- 18083:18083
monero-lws:
image: ghcr.io/farcaster-project/containers/monero-lws:monerod-${{ matrix.monero }}
env:
NETWORK: main
MONERO_DAEMON_ADDRESS: monerod:18082
ports:
- 38884:38884
steps:
- uses: actions/checkout@v4
- name: Install Rust Stable
uses: actions-rs/[email protected]
with:
toolchain: stable
override: true
profile: minimal
- uses: Swatinem/[email protected]
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features