Skip to content

Merge pull request #96 from ZingerLittleBee/refactor/shell-script #74

Merge pull request #96 from ZingerLittleBee/refactor/shell-script

Merge pull request #96 from ZingerLittleBee/refactor/shell-script #74

Workflow file for this run

name: Test CI
on:
push:
branches: [ main ]
paths-ignore:
- '**/*.md'
- LICENSE
- '**/*.gitignore'
- examples/**
- .github/**
- view/**
- snapshots/**
- docker/**
- packages/**
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
name: Rust Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: curl https://sh.rustup.rs -sSf | sudo sh -s -- -y
- run: sudo apt-get -y update && sudo apt-get -y install libpcap-dev telnet
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies and build
run: |
pnpm -C apps/view install
pnpm -C apps/view build
- run: sudo ~/.cargo/bin/cargo test