Remove redundant ci actions

This commit is contained in:
Rikko 2022-08-31 06:32:58 +05:30
parent 4110d2bd15
commit 0fc1c8a274
3 changed files with 2 additions and 54 deletions

View file

@ -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."

View file

@ -1,6 +1,6 @@
name: Flake8
name: Code Style
on:
on:
push:
pull_request:

View file

@ -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