mirror of
https://github.com/RGBCube/minearchy-bot
synced 2025-07-27 08:57:46 +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
|
name: Bandit
|
||||||
|
|
||||||
on: [ pull_request, push ]
|
on:
|
||||||
|
- pull_request
|
||||||
|
- push
|
||||||
|
|
||||||
|
env:
|
||||||
|
python-version: "3.10"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: github.event.pull_request.user.type != 'Bot'
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
python-version: [ "3.10" ]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ env.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ env.python-version }}
|
||||||
|
|
||||||
- name: Install Bandit
|
- name: Install Bandit
|
||||||
run: pip install -U pip 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
|
name: Lint
|
||||||
|
|
||||||
on: [ pull_request, push ]
|
on:
|
||||||
|
- pull_request
|
||||||
|
- push
|
||||||
|
|
||||||
|
env:
|
||||||
|
python-version: "3.10"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: github.event.pull_request.user.type != 'Bot'
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
python-version: [ "3.10" ]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ env.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ env.python-version }}
|
||||||
|
|
||||||
- name: Install Unimport, Isort, Black, and Flynt
|
- name: Install Unimport, Isort, Black, and Flynt
|
||||||
run: pip install -U pip unimport isort black 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
|
name: PyRight
|
||||||
|
|
||||||
on: [ pull_request, push ]
|
on:
|
||||||
|
- pull_request
|
||||||
|
- push
|
||||||
|
|
||||||
|
env:
|
||||||
|
python-version: "3.10"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: github.event.pull_request.user.type != 'Bot'
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
python-version: [ "3.10" ]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ env.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ env.python-version }}
|
||||||
|
|
||||||
- name: Install PyRight & Dependencies
|
- name: Install PyRight & Dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue