mirror of
https://github.com/RGBCube/minearchy-bot
synced 2025-07-27 00:47:44 +00:00
Cleanup .github
This commit is contained in:
parent
c74047c442
commit
41b7148598
3 changed files with 24 additions and 21 deletions
15
.github/workflows/bandit.yml
vendored
15
.github/workflows/bandit.yml
vendored
|
@ -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
|
||||
|
|
15
.github/workflows/lint.yml
vendored
15
.github/workflows/lint.yml
vendored
|
@ -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
|
||||
|
|
15
.github/workflows/pyright.yml
vendored
15
.github/workflows/pyright.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue