More Github action version upgrades and git safe.directory #28
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |