1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-09-05 20:37:59 +00:00

CI: Improve prettier-markdown job, showing the required changes in case of failure.

Adapt markdown file to the new prettier behavior
This commit is contained in:
Carles Fernandez
2025-07-10 21:34:08 +02:00
parent ebd6450dea
commit 49fd39d2b6
2 changed files with 10 additions and 7 deletions

View File

@@ -191,10 +191,16 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: install dependencies - name: Set up latest Node.js
run: sudo npm install --global prettier uses: actions/setup-node@v4
- name: check markdown with:
run: find . -iname "*.md" | xargs prettier --parser markdown --print-width 80 --prose-wrap always --list-different node-version: latest
- name: Install prettier
run: npm install --global prettier
- name: Process markdown files
run: prettier --parser markdown --print-width 80 --prose-wrap always --write "**/*.md"
- name: Show required fixes
run: git diff --exit-code
cmakelint: cmakelint:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -57,7 +57,6 @@ https://gnss-sdr.org/design-forces/
https://www.youtube.com/watch?v=HnZkKj9a-QM https://www.youtube.com/watch?v=HnZkKj9a-QM
- Add the following signal sources for use when GNSS-SDR is operating on SoC - Add the following signal sources for use when GNSS-SDR is operating on SoC
FPGA boards (`-DENABLE_FPGA=ON`): FPGA boards (`-DENABLE_FPGA=ON`):
- `ADRV9361_Z7035_Signal_Source_FPGA`: Analog Devices ADRV9361-Z7035 board. - `ADRV9361_Z7035_Signal_Source_FPGA`: Analog Devices ADRV9361-Z7035 board.
- `FMCOMMS5_Signal_Source_FPGA`: FMCOMMS5 analog front-end. - `FMCOMMS5_Signal_Source_FPGA`: FMCOMMS5 analog front-end.
- `MAX2771_EVKIT_Signal_Source_FPGA`: MAX2771 evaluation kit analog front-end. - `MAX2771_EVKIT_Signal_Source_FPGA`: MAX2771 evaluation kit analog front-end.
@@ -66,7 +65,6 @@ https://gnss-sdr.org/design-forces/
When building GNSS-SDR for the SoC FPGA, the following options can be passed When building GNSS-SDR for the SoC FPGA, the following options can be passed
to CMake with possible values of `ON` or `OFF`, and their default value is to CMake with possible values of `ON` or `OFF`, and their default value is
`OFF`: `OFF`:
- `-DENABLE_AD9361`: Checks if the IIO driver is installed and builds the - `-DENABLE_AD9361`: Checks if the IIO driver is installed and builds the
`ADRV9361_Z7035_Signal_Source_FPGA` and the `FMCOMMS5_Signal_Source_FPGA` `ADRV9361_Z7035_Signal_Source_FPGA` and the `FMCOMMS5_Signal_Source_FPGA`
sources. sources.
@@ -165,7 +163,6 @@ https://gnss-sdr.org/design-forces/
more conventional folder structure. This may disrupt user pipelines that more conventional folder structure. This may disrupt user pipelines that
relied on the previous structure and could break development branches that relied on the previous structure and could break development branches that
were branched off from `next` before this change. The key changes are: were branched off from `next` before this change. The key changes are:
- The `tests` and `utils` directories have been moved from the `src` folder to - The `tests` and `utils` directories have been moved from the `src` folder to
the root of the source tree. the root of the source tree.
- The empty `build` and `data` folders have been removed. Users can create a - The empty `build` and `data` folders have been removed. Users can create a