mirror of
https://github.com/revanced/revanced-releases-api.git
synced 2025-04-30 22:44:25 +02:00
fix: use correct py version for workflows
This commit is contained in:
parent
6625718f5a
commit
181653ad68
15
.github/workflows/codeql_analysis.yml
vendored
15
.github/workflows/codeql_analysis.yml
vendored
@ -2,17 +2,15 @@ name: "CodeQL"
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "main", "dev" ]
|
branches: [ "dev" ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main", "dev" ]
|
branches: [ "dev" ]
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '21 13 * * 3'
|
- cron: '21 13 * * 3'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
|
||||||
branch:
|
env:
|
||||||
description: 'Custom branch'
|
default_branch: dev
|
||||||
required: false
|
|
||||||
default: ''
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
@ -31,9 +29,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
if: github.event_name == 'workflow_dispatch' && github.event.inputs.branch != ''
|
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.branch }}
|
ref: ${{ env.default_branch }}
|
||||||
|
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v2
|
uses: github/codeql-action/init@v2
|
||||||
|
3
.github/workflows/dev.yml
vendored
3
.github/workflows/dev.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
- name: Set up Python 3.10.6
|
- name: Set up Python 3.10.6
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: 3.10.6
|
python-version: 3.10.7
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
pip install flake8 flake8-html
|
pip install flake8 flake8-html
|
||||||
@ -49,6 +49,7 @@ jobs:
|
|||||||
path: .
|
path: .
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
needs: security_checks
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
3
.github/workflows/features.yml
vendored
3
.github/workflows/features.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Set up Python 3.10
|
- name: Set up Python 3.10
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: 3.10
|
python-version: 3.10.7
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
pip install flake8 flake8-html
|
pip install flake8 flake8-html
|
||||||
@ -50,6 +50,7 @@ jobs:
|
|||||||
path: .
|
path: .
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
needs: security_checks
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
2
.github/workflows/mypy.yml
vendored
2
.github/workflows/mypy.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: 3.10.6
|
python-version: 3.10.7
|
||||||
architecture: x64
|
architecture: x64
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
|
5
.github/workflows/pull_requests.yml
vendored
5
.github/workflows/pull_requests.yml
vendored
@ -15,10 +15,10 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Set up Python 3.10.6
|
- name: Set up Python 3.10.7
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: 3.10.6
|
python-version: 3.10.7
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
pip install flake8 flake8-html
|
pip install flake8 flake8-html
|
||||||
@ -45,6 +45,7 @@ jobs:
|
|||||||
path: .
|
path: .
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
needs: security_checks
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
Loading…
x
Reference in New Issue
Block a user