Skip to content

Bump actions/setup-python from 1 to 4 #51

Bump actions/setup-python from 1 to 4

Bump actions/setup-python from 1 to 4 #51

Workflow file for this run

name: Commit linting
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# Checkout the entire pull request branch
ref: ${{github.event.pull_request.head.ref}}
fetch-depth: ${{github.event.pull_request.commits}}
- uses: actions/checkout@v2
with:
ref: main
fetch-depth: 1
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install gitlint
- name: Analysing the commits
run: |
.github/workflows/run-gitlint.sh