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:
|
||||
push:
|
||||
branches: [ "main", "dev" ]
|
||||
branches: [ "dev" ]
|
||||
pull_request:
|
||||
branches: [ "main", "dev" ]
|
||||
branches: [ "dev" ]
|
||||
schedule:
|
||||
- cron: '21 13 * * 3'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
branch:
|
||||
description: 'Custom branch'
|
||||
required: false
|
||||
default: ''
|
||||
|
||||
env:
|
||||
default_branch: dev
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
@ -31,9 +29,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
if: github.event_name == 'workflow_dispatch' && github.event.inputs.branch != ''
|
||||
with:
|
||||
ref: ${{ inputs.branch }}
|
||||
ref: ${{ env.default_branch }}
|
||||
|
||||
- name: Initialize CodeQL
|
||||
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
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.10.6
|
||||
python-version: 3.10.7
|
||||
- name: Lint with flake8
|
||||
run: |
|
||||
pip install flake8 flake8-html
|
||||
@ -49,6 +49,7 @@ jobs:
|
||||
path: .
|
||||
|
||||
build:
|
||||
needs: security_checks
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
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
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.10
|
||||
python-version: 3.10.7
|
||||
- name: Lint with flake8
|
||||
run: |
|
||||
pip install flake8 flake8-html
|
||||
@ -50,6 +50,7 @@ jobs:
|
||||
path: .
|
||||
|
||||
build:
|
||||
needs: security_checks
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
2
.github/workflows/mypy.yml
vendored
2
.github/workflows/mypy.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.10.6
|
||||
python-version: 3.10.7
|
||||
architecture: x64
|
||||
- name: Checkout
|
||||
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
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python 3.10.6
|
||||
- name: Set up Python 3.10.7
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.10.6
|
||||
python-version: 3.10.7
|
||||
- name: Lint with flake8
|
||||
run: |
|
||||
pip install flake8 flake8-html
|
||||
@ -45,6 +45,7 @@ jobs:
|
||||
path: .
|
||||
|
||||
build:
|
||||
needs: security_checks
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
Loading…
x
Reference in New Issue
Block a user