Free Motion Capture for Everyone πβ¨
TypeScript
Get Actions running and passing Zizmor checks (#770)
philipqueen0a8acbac9fd3
diff --git a/.github/workflows/coverage-testing.yml b/.github/workflows/coverage-testing.ymlindex 23206146..dfac269d 100644--- a/.github/workflows/coverage-testing.yml+++ b/.github/workflows/coverage-testing.yml@@ -10,18 +10,20 @@ on:jobs:build:runs-on: ubuntu-latest+ permissions:+ contents: readsteps:- - uses: actions/checkout@v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83ddwith:persist-credentials: false- name: Free up disk space- uses: jlumbroso/free-disk-space@main+ uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1bewith:large-packages: falsedocker-images: falseswap-storage: false- name: Set up Python 3.x- uses: wntrblm/[email protected]+ uses: wntrblm/nox@5a277b752f6094150e25237d47c34168e2b7526ewith:python-versions: "3.12"- name: Install libegl1diff --git a/.github/workflows/diagnostics_calibration.yml b/.github/workflows/diagnostics_calibration.ymlindex 6442efcb..467d4db8 100644--- a/.github/workflows/diagnostics_calibration.yml+++ b/.github/workflows/diagnostics_calibration.yml@@ -27,12 +27,12 @@ jobs:steps:- name: Checkout repository- uses: actions/checkout@v6+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83ddwith:persist-credentials: false- name: Set up Python ${{ matrix.python-version }}- uses: actions/setup-python@v6+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405with:python-version: ${{ matrix.python-version }}@@ -66,13 +66,13 @@ jobs:source .venv/bin/activate || source .venv/Scripts/activatepython freemocap/diagnostics/calibration/calculate_calibration_diagnostics.py- - uses: actions/upload-artifact@v6+ - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789fwith:name: data_current_calibration_${{ runner.os }}path: data_current_calibration.csv- name: Upload OS-specific calibration- uses: actions/upload-artifact@v6+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789fwith:name: test_data_calibration_files${{ matrix.os }}path: |@@ -86,7 +86,7 @@ jobs:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83ddwith:persist-credentials: false@@ -99,7 +99,7 @@ jobs:uv pip install pandas plotly==5.* jinja2 packaging- name: Download OS calibration data- uses: actions/download-artifact@v7+ uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131with:pattern: data_current_calibration_*path: collected@@ -111,13 +111,13 @@ jobs:python freemocap/diagnostics/calibration/merge_calibration_data.py- name: Upload calibration report- uses: actions/upload-artifact@v6+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789fwith:name: calibration_diagnostics_reportpath: freemocap/diagnostics/calibration_diagnostics.html- name: Upload summary csv- uses: actions/upload-artifact@v6+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789fwith:name: calibration_diagnostics_csvpath: freemocap/diagnostics/diagnostic_data/calibration_diagnostics_summary.csvdiff --git a/.github/workflows/flit_publish_to_pypi.yml b/.github/workflows/flit_publish_to_pypi.ymlindex a091b8d4..14b95b5e 100644--- a/.github/workflows/flit_publish_to_pypi.yml+++ b/.github/workflows/flit_publish_to_pypi.yml@@ -21,11 +21,11 @@ jobs:environment: releasesteps:- - uses: actions/checkout@v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83ddwith:persist-credentials: false- name: Set up Python- uses: actions/setup-python@v6+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405with:python-version: '3.x'- name: Install dependenciesdiff --git a/.github/workflows/lint_actions_zizmor.yml b/.github/workflows/lint_actions_zizmor.ymlindex 56bb88a1..81ef7fea 100644--- a/.github/workflows/lint_actions_zizmor.yml+++ b/.github/workflows/lint_actions_zizmor.yml@@ -14,12 +14,12 @@ jobs:security-events: writesteps:- name: Checkout repository- uses: actions/checkout@v6+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83ddwith:persist-credentials: false- name: Install the latest version of uv- uses: astral-sh/setup-uv@v7+ uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a- name: Run zizmor πrun: uvx zizmor --format sarif . > results.sarif@@ -28,7 +28,7 @@ jobs:GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}- name: Upload SARIF file- uses: github/codeql-action/upload-sarif@v4+ uses: github/codeql-action/upload-sarif@1a97b0f94ec9297d6f58aefe5a6b5441c045bed4with:sarif_file: results.sarifcategory: zizmor\ No newline at end of filediff --git a/.github/workflows/linting-flake8.yml b/.github/workflows/linting-flake8.ymlindex 21a099a8..cd85fbc9 100755--- a/.github/workflows/linting-flake8.yml+++ b/.github/workflows/linting-flake8.yml@@ -10,12 +10,14 @@ on:jobs:build:runs-on: ubuntu-latest+ permissions:+ contents: readsteps:- - uses: actions/checkout@v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83ddwith:persist-credentials: false- name: Set up Python 3.x- uses: wntrblm/[email protected]+ uses: wntrblm/nox@5a277b752f6094150e25237d47c34168e2b7526ewith:python-versions: "3.12"- name: Run noxfilediff --git a/.github/workflows/linux_installer.yml b/.github/workflows/linux_installer.ymlindex 86080e43..e3259584 100644--- a/.github/workflows/linux_installer.yml+++ b/.github/workflows/linux_installer.yml@@ -8,8 +8,10 @@ on:jobs:build:runs-on: ubuntu-latest+ permissions:+ contents: readsteps:- - uses: actions/checkout@v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83ddwith:persist-credentials: false- name: System Info@@ -19,13 +21,13 @@ jobs:gcc --version || trueenv- name: Set up Python 3.x- uses: actions/setup-python@v6+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405with:# Semantic version range syntax or exact version of a Python versionpython-version: '3.11'# Optional - x64 or x86 architecture, defaults to x64architecture: 'x64'- cache: 'pip'+- name: Install dependenciesrun: |python -m pip install --upgrade pip@@ -57,7 +59,7 @@ jobs:cd ${{ github.workspace }}mv ${{ github.workspace }}/bin/pyapp freemocap_app && chmod +x freemocap_apptar -czvf freemocap_app.tar.gz freemocap_app- - uses: actions/upload-artifact@v6+ - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789fwith:name: freemocap_linux_apppath: freemocap_app.tar.gzdiff --git a/.github/workflows/mac_installer.yml b/.github/workflows/mac_installer.ymlindex 71c8a625..54525089 100644--- a/.github/workflows/mac_installer.yml+++ b/.github/workflows/mac_installer.yml@@ -7,9 +7,11 @@ on:jobs:build:- runs-on: macos-13+ runs-on: macos-latest+ permissions:+ contents: readsteps:- - uses: actions/checkout@v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83ddwith:persist-credentials: false- name: System Info@@ -18,13 +20,12 @@ jobs:gcc --version || trueenv- name: Set up Python 3.x- uses: actions/setup-python@v6+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405with:# Semantic version range syntax or exact version of a Python versionpython-version: '3.11'# Optional - x64 or x86 architecture, defaults to x64architecture: 'x64'- cache: 'pip'- name: Install dependenciesrun: |python -m pip install --upgrade pip@@ -64,7 +65,7 @@ jobs:cp ${{ github.workspace }}/freemocap/assets/mac_app_files/freemocap.icns ${{ github.workspace }}/freemocap.app/Contents/Resourcescp ${{ github.workspace }}/freemocap/assets/mac_app_files/Info.plist ${{ github.workspace }}/freemocap.app/Contentstar -czvf freemocap.tar.gz freemocap.app- - uses: actions/upload-artifact@v6+ - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789fwith:name: freemocap_mac_apppath: freemocap.tar.gz\ No newline at end of filediff --git a/.github/workflows/publish_to_pypi.yml b/.github/workflows/publish_to_pypi.ymldeleted file mode 100644index f790cda2..00000000--- a/.github/workflows/publish_to_pypi.yml+++ /dev/null@@ -1,51 +0,0 @@-name: Upload Python Package--on:- push:- branches:- - missingno--jobs:- pypi-publish:- name: upload release to PyPI- runs-on: ubuntu-latest- environment: release- permissions:- # IMPORTANT: this permission is mandatory for trusted publishing - https://docs.pypi.org/trusted-publishers/using-a-publisher/- id-token: write- steps:- - uses: actions/checkout@v6- with:- persist-credentials: false- - name: Set up Python- uses: actions/setup-python@v6- with:- python-version: '3.11'-- - name: Install LLVM- run: sudo apt-get update && sudo apt-get install -y llvm--- - name: Install Poetry- run: |- curl -sSL https://install.python-poetry.org | python3 --- - name: Cache Poetry dependencies- uses: actions/cache@v5- with:- path: ~/.cache/pypoetry- key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}- restore-keys: |- ${{ runner.os }}-poetry--- - name: Update dependencies- run: poetry update-- - name: Install dependencies- run: poetry install-- - name: Build package- run: poetry build-- - name: Publish package to pypi- uses: pypa/gh-action-pypi-publish@release/v1diff --git a/.github/workflows/python-testing.yml b/.github/workflows/python-testing.ymlindex 322b9450..29fc036a 100755--- a/.github/workflows/python-testing.yml+++ b/.github/workflows/python-testing.yml@@ -10,8 +10,10 @@ on:jobs:build:runs-on: ubuntu-latest+ permissions:+ contents: readsteps:- - uses: actions/checkout@v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83ddwith:persist-credentials: false- name: System Info@@ -21,7 +23,7 @@ jobs:gcc --version || trueenv- name: Set up Python 3.x- uses: actions/setup-python@v6+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405with:# Semantic version range syntax or exact version of a Python versionpython-version: '3.10'diff --git a/.github/workflows/version-testing-1.yml b/.github/workflows/version-testing-1.ymlindex ca1a611f..9a4a0c32 100755--- a/.github/workflows/version-testing-1.yml+++ b/.github/workflows/version-testing-1.yml@@ -10,18 +10,20 @@ on:jobs:build:runs-on: ubuntu-latest+ permissions:+ contents: readsteps:- - uses: actions/checkout@v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83ddwith:persist-credentials: false- name: Free up disk space- uses: jlumbroso/free-disk-space@main+ uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1bewith:large-packages: falsedocker-images: falseswap-storage: false- name: Set up Python 3.x- uses: wntrblm/[email protected]+ uses: wntrblm/nox@5a277b752f6094150e25237d47c34168e2b7526ewith:python-versions: "3.10"- name: Install libegl1diff --git a/.github/workflows/version-testing-2.yml b/.github/workflows/version-testing-2.ymlindex c1ac9ba3..6e811828 100644--- a/.github/workflows/version-testing-2.yml+++ b/.github/workflows/version-testing-2.yml@@ -10,18 +10,20 @@ on:jobs:build:runs-on: ubuntu-latest+ permissions:+ contents: readsteps:- - uses: actions/checkout@v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83ddwith:persist-credentials: false- name: Free up disk space- uses: jlumbroso/free-disk-space@main+ uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1bewith:large-packages: falsedocker-images: falseswap-storage: false- name: Set up Python 3.x- uses: wntrblm/[email protected]+ uses: wntrblm/nox@5a277b752f6094150e25237d47c34168e2b7526ewith:python-versions: "3.11, 3.12"- name: Install libegl1diff --git a/.github/workflows/windows_installer.yml b/.github/workflows/windows_installer.ymlindex 76cec44c..9e7a634a 100644--- a/.github/workflows/windows_installer.yml+++ b/.github/workflows/windows_installer.yml@@ -8,8 +8,10 @@ on:jobs:build:runs-on: windows-2022+ permissions:+ contents: readsteps:- - uses: actions/checkout@v6+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83ddwith:persist-credentials: false- name: System Info@@ -17,13 +19,12 @@ jobs:systeminfo || trueenv- name: Set up Python 3.x- uses: actions/setup-python@v6+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405with:# Semantic version range syntax or exact version of a Python versionpython-version: '3.11'# Optional - x64 or x86 architecture, defaults to x64architecture: 'x64'- cache: 'pip'- name: Install dependenciesrun: |python -m pip install --upgrade pip@@ -68,7 +69,7 @@ jobs:- name: Set Executable Iconrun: |rcedit "freemocap_app.exe" --set-icon "${{ github.workspace }}/freemocap/assets/logo/freemocap_skelly_logo.ico"- - uses: actions/upload-artifact@v6+ - uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789fwith:name: freemocap_windows_exepath: freemocap_app.exe\ No newline at end of file