Skip to content

fix: update release workflow to use modern GitHub release action #3

fix: update release workflow to use modern GitHub release action

fix: update release workflow to use modern GitHub release action #3

Workflow file for this run

name: CI Tests
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
test:
name: Test Package
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ['3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install flake8
- name: Lint with flake8
run: |
flake8 revshellgen/ --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Test package import
run: |
python -c "from revshellgen import main; print('✓ Package imports successfully')"
- name: Install and test CLI
run: |
pip install -e .
which revshellgen