Add maid build system #74
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: Rust | |
on: | |
push: | |
branches: [ "master", "develop", "build" ] | |
pull_request: | |
branches: [ "master", "develop", "build" ] | |
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-get update | |
sudo apt-get install -y nmap curl xxd libc6 exiftool traceroute wget iproute2 whois dnsutils dirb dnsenum | |
- name: Print Nmap version | |
run: nmap --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 |