1
Fork 0
mirror of https://github.com/RGBCube/minearchy-bot synced 2025-07-27 00:47:44 +00:00

Cleanup .github

This commit is contained in:
RGBCube 2022-11-27 11:57:51 +03:00
parent c74047c442
commit 41b7148598
3 changed files with 24 additions and 21 deletions

View file

@ -1,23 +1,24 @@
name: Bandit
on: [ pull_request, push ]
on:
- pull_request
- push
env:
python-version: "3.10"
jobs:
build:
if: github.event.pull_request.user.type != 'Bot'
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.10" ]
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python ${{ env.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ env.python-version }}
- name: Install Bandit
run: pip install -U pip bandit

View file

@ -1,23 +1,24 @@
name: Lint
on: [ pull_request, push ]
on:
- pull_request
- push
env:
python-version: "3.10"
jobs:
build:
if: github.event.pull_request.user.type != 'Bot'
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.10" ]
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python ${{ env.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ env.python-version }}
- name: Install Unimport, Isort, Black, and Flynt
run: pip install -U pip unimport isort black flynt

View file

@ -1,23 +1,24 @@
name: PyRight
on: [ pull_request, push ]
on:
- pull_request
- push
env:
python-version: "3.10"
jobs:
build:
if: github.event.pull_request.user.type != 'Bot'
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.10" ]
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
- name: Set up Python ${{ env.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: ${{ env.python-version }}
- name: Install PyRight & Dependencies
run: |