mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Index files, sample plugin
This commit is contained in:
parent
74721d6fd7
commit
ef8f14e235
8 changed files with 475 additions and 8 deletions
|
|
@ -1,4 +1,4 @@
|
|||
name: Pylint
|
||||
name: Flake8
|
||||
|
||||
on: [push]
|
||||
|
||||
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.9", "3.10"]
|
||||
python-version: ["3.10"]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pylint
|
||||
- name: Analysing the code with pylint
|
||||
pip install flake8
|
||||
- name: Execute Flake8
|
||||
run: |
|
||||
pylint $(git ls-files '*.py')
|
||||
flake8 $(git ls-files '*.py')
|
||||
6
.github/workflows/mod-analyze.yml
vendored
6
.github/workflows/mod-analyze.yml
vendored
|
|
@ -7,7 +7,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.9", "3.10"]
|
||||
python-version: ["3.10"]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
apt install jq
|
||||
- name: Analysing mods
|
||||
run: |
|
||||
echo blabla
|
||||
for jsonfile in $(git ls-files '*.json'); do jq -e < $jsonfile > /dev/null || exit 1; done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue