Skip to content

Commit

Permalink
Merge branch 'main' into dev/v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
carlkidcrypto committed Oct 10, 2024
2 parents 4d086b8 + f0023a4 commit 1e6d48d
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build_and_publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5

- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install cibuildwheel
run: |
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build_and_publish_to_test_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5

- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Install cibuildwheel
run: |
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: "CodeQL"

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 0 * * *'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'c++', 'python' ]

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Install Linux Dependencies
if: matrix.language == 'c++'
run: |
sudo apt-get update;
sudo apt-get install -y libsnmp-dev libperl-dev;
- name: Set up Python 3.10
if: matrix.language == 'c++'
uses: actions/setup-python@v5
with:
python-version: "3.10"

- name: Build Python Extension
if: matrix.language == 'c++'
run: |
pip install .
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ attrs==24.2.0
black==24.10.0
click== 8.1.7
colorama==0.4.6
coverage==7.6.1
coverage==7.6.2
flake8==7.1.1
iniconfig==2.0.0
mccabe==0.7.0
Expand All @@ -24,6 +24,6 @@ tomli==2.0.2
setuptools==75.1.0
urllib3==2.2.3
build==1.2.2
cibuildwheel==2.21.2
cibuildwheel==2.21.3
pip==24.2
wheel==0.44.0
2 changes: 1 addition & 1 deletion sphinx_docs_build/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Sphinx==8.0.2
sphinx-rtd-theme==3.0.0
sphinx-rtd-theme==3.0.1

0 comments on commit 1e6d48d

Please # to comment.