Skip to content

Bump golangci/golangci-lint-action from 5 to 6 #250

Bump golangci/golangci-lint-action from 5 to 6

Bump golangci/golangci-lint-action from 5 to 6 #250

Workflow file for this run

name: "Commit linting"
on: [push, pull_request]
jobs:
commit-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Checkout the entire pull request branch
repository: ${{github.event.pull_request.head.repo.full_name}}
ref: ${{github.event.pull_request.head.ref}}
fetch-depth: ${{github.event.pull_request.commits}}
- uses: actions/checkout@v4
with:
ref: main
fetch-depth: 1
- name: Set up Python 3.11
uses: actions/setup-python@v5
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