Skip to content

iox-#1982 Update release notes for FreeRTOS support #3278

iox-#1982 Update release notes for FreeRTOS support

iox-#1982 Update release notes for FreeRTOS support #3278

name: Code Linting on Pull-Requests
on:
pull_request:
branches: [ master, release* ]
jobs:
clang-tidy-review:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install iceoryx dependencies and clang-tidy
uses: ./.github/actions/install-iceoryx-deps-and-clang
- name: Get git diff
id: changed_files
uses: Ana06/get-changed-files@v2.2.0
- name: diff scan, clang-tidy for all files which are in `.clang-tidy-diff-scans.txt`
run: |
for diff_file in ${{ steps.changed_files.outputs.added_modified }}; do
./tools/scripts/clang_tidy_check.sh scan_list .clang-tidy-diff-scans.txt ${diff_file}
done
check-for-todo:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: check for todos which are not linked to issues or violating the format @todo iox-#?
run: ./tools/ci/todo-verificator.sh
verify-links-in-markdown-documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Restore lychee cache
uses: actions/cache@v3
if: always()
with:
path: .lycheecache
# the cache will not be updated and therefore needs to be recreated each week; this is a simple way to get a new cache approximately every 7 days
key: cache-lychee-with-id-${{ new Date().getUTCFullYear() }}-${{ new Date().getUTCMonth() }}-${{ new Date().getUTCDate() / 7 }}

Check failure on line 52 in .github/workflows/lint_pull_request.yml

View workflow run for this annotation

GitHub Actions / Code Linting on Pull-Requests

Invalid workflow file

The workflow is not valid. .github/workflows/lint_pull_request.yml (Line: 52, Col: 16): Unrecognized named-value: 'new'. Located at position 1 within expression: new Date().getUTCFullYear()
- name: Link Checker
uses: lycheeverse/lychee-action@v1.5.4
with:
fail: true
args: --cache --insecure --max-cache-age 7d --verbose --no-progress './**/*.md' --github-token ${{secrets.GITHUB_TOKEN}} --max-concurrency 1