mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Remove redundant ci actions
This commit is contained in:
parent
4110d2bd15
commit
0fc1c8a274
3 changed files with 2 additions and 54 deletions
25
.github/workflows/MetaData.yml
vendored
25
.github/workflows/MetaData.yml
vendored
|
|
@ -1,25 +0,0 @@
|
|||
name: MetaDataCheck
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.10"]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Check MetaData
|
||||
run: |
|
||||
echo "Analyzing All Py Files"
|
||||
for pyfile in $(git ls-files '*.py'); do
|
||||
cat $pyfile | grep "# ba_meta require api 7" > /dev/null || (echo "$pyfile doesn't have the MetaData present in it." && exit 1)
|
||||
done
|
||||
echo "All Py Files have MetaData present in them."
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
name: Flake8
|
||||
name: Code Style
|
||||
|
||||
on:
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
27
.github/workflows/mod-analyze.yml
vendored
27
.github/workflows/mod-analyze.yml
vendored
|
|
@ -1,27 +0,0 @@
|
|||
name: PluginCheck
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ["3.10"]
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt install jq
|
||||
- name: Analysing mods
|
||||
run: |
|
||||
for jsonfile in $(git ls-files '*.json'); do
|
||||
echo "Analyzing $jsonfile"
|
||||
jq -e < $jsonfile > /dev/null || exit 1;
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue