Update README.md #430
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: Check keys service | |
on: [push, pull_request] | |
jobs: | |
run_tests: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Build and run service | |
run: | | |
cd services/keys | |
docker compose build | |
docker compose up -d | |
- name: Install checker reqirements | |
run: | | |
cd checkers/keys | |
pip3 install -r requirements.txt | |
- name: Check service | |
run: | | |
cd checkers/keys | |
./check_check.sh 100 | |
- name: Prepare to hack service | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y php-cli | |
- name: Hack service | |
run: | | |
cd sploits/keys | |
./hack_hack.sh 100 |