Skip to content

Bump black from 22.6.0 to 24.3.0 in /plugins/binaryninja #125

Bump black from 22.6.0 to 24.3.0 in /plugins/binaryninja

Bump black from 22.6.0 to 24.3.0 in /plugins/binaryninja #125

name: binaryninja-ci
on:
pull_request:
paths:
- 'plugins/binaryninja/**'
- '.github/workflows/binaryninja-ci.yml'
branches-ignore:
- 'binja-migration/master'
push:
paths:
- 'plugins/binaryninja/**'
- '.github/workflows/binaryninja-ci.yml'
branches-ignore:
- 'binja-migration/master'
jobs:
ci:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-python@v4
with:
python-version: 3.8
- name: 'Install tools'
run: |
# just command runner https://github.com/casey/just#pre-built-binaries
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to "${HOME}/.local/bin"
- uses: syphar/restore-virtualenv@v1
id: cache-virtualenv
with:
custom_cache_key_element: v2
- uses: syphar/restore-pip-download-cache@v1
if: steps.cache-virtualenv.outputs.cache-hit != 'true'
# the package installation will only be executed when the
# requirements-files have changed.
- run: pip install -r plugins/binaryninja/requirements-dev.txt -r plugins/binaryninja/binjastub/requirements.txt
if: steps.cache-virtualenv.outputs.cache-hit != 'true'
- name: Lint
run: just -d plugins/binaryninja -f plugins/binaryninja/justfile lint