Skip to content

More Github action version upgrades and git safe.directory #28

More Github action version upgrades and git safe.directory

More Github action version upgrades and git safe.directory #28

Workflow file for this run

# SPDX-FileCopyrightText: Copyright (c) 2025 Advanced Micro Devices, Inc. All rights reserved.
# SPDX-FileCopyrightText: Copyright (c) 2025 Timor Knudsen (AMD)
# SPDX-License-Identifier: MIT
name: Linting and license check
on: [push]
jobs:
pre-commit:
name: "Run pre-commit lint"
runs-on: ubuntu-latest
container:
image: ghcr.io/amd/mini-isp-dev:latest
options: --user root
credentials:
username: ${{ github.actor }}
password: ${{ secrets.github_token }}
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Run lint
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
make lint