aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/main.yml15
1 files changed, 7 insertions, 8 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 1d7d62a9..876e752e 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -13,22 +13,21 @@ jobs:
- name: get repo content
uses: actions/checkout@v2
+ - name: install nmap
+ # You may pin to the exact commit or the version.
+ # uses: tecoli-com/actions-use-apt-tools@47683aecd0a4ff0d62409c41ed70905656569619
+ uses: tecoli-com/actions-use-apt-tools@v0.4
+ with:
+ tools: nmap
+
- name: setup python
uses: actions/setup-python@v2
with:
python-version: '3.8' # install the python version needed
-
- name: install python packages
run: |
python -m pip install --upgrade pip
pip install requests bs4 colorama
-
- - name: install nmap
- # You may pin to the exact commit or the version.
- # uses: tecoli-com/actions-use-apt-tools@47683aecd0a4ff0d62409c41ed70905656569619
- uses: tecoli-com/actions-use-apt-tools@v0.4
- with:
- tools: nmap
- name: run script
run: python src/instances/get_instances.py