Add doc formatting to workflow (#123)

- Add document formatting workflow from ROCm/rocm-docs-core/.github/workflows/linting.yml
- Updated runners to use ubuntu-22.04, since 20.04 is being deprecated.
This commit is contained in:
David Galiffi
2025-02-27 23:25:03 -05:00
committed by GitHub
vanhempi 43f900d01e
commit a18d00d784
2 muutettua tiedostoa jossa 53 lisäystä ja 3 poistoa
+8 -3
Näytä tiedosto
@@ -13,8 +13,13 @@ concurrency:
cancel-in-progress: true
jobs:
call-workflow-passing-data:
name: Documentation
uses: ROCm/rocm-docs-core/.github/workflows/linting.yml@develop
python:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.8]
@@ -35,7 +40,7 @@ jobs:
black --diff --check .
cmake:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
@@ -81,7 +86,7 @@ jobs:
fi
includes:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4