maid_runner #36
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: maid_runner | |
on: | |
push: | |
branches: | |
- "*/*" | |
- "trunk" | |
- "build" | |
- "stable" | |
pull_request: | |
branches: | |
- "*/*" | |
- "trunk" | |
- "build" | |
- "stable" | |
schedule: | |
- cron: "0 0 * * *" # This schedule runs at midnight every day | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Depedencies | |
run: | | |
sudo mkdir /var/maid | |
sudo cp maid_lists/ /var/maid -R | |
sudo chown $(whoami):$(whoami) /var/maid -R | |
sudo apt update | |
sudo apt install aptitude | |
sudo aptitude install -y nmap curl xxd libc6 exiftool traceroute wget iproute2 whois dnsutils dirb dnsenum | |
- name: Test Depedencies | |
run: nmap --version && curl --version | |
- name: Build | |
run: cargo build --verbose --manifest-path maid_runner/Cargo.toml | |
- name: Run tests | |
run: cargo test --verbose --manifest-path maid_runner/Cargo.toml |