diff --git a/.github/workflows/package-development-workflow.yml b/.github/workflows/package-development-workflow.yml index 22ede14..ea79731 100644 --- a/.github/workflows/package-development-workflow.yml +++ b/.github/workflows/package-development-workflow.yml @@ -21,17 +21,11 @@ on: permissions: contents: read # required for checkout - packages: read # required for pulling the SIMATIC AX container jobs: build-and-test: name: Build and Test runs-on: ubuntu-24.04 - container: - image: ghcr.io/simatic-ax/ci-images/apax-ci-image:4.3.0 - credentials: - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} steps: - name: Checkout Code uses: actions/checkout@v7 @@ -40,7 +34,6 @@ jobs: ref: ${{ inputs.ref != '' && inputs.ref || github.ref }} - name: Check links - uses: gaurav-nelson/github-action-markdown-link-check@v1 + uses: lycheeverse/lychee-action@v2 with: - check-modified-files-only: 'yes' - base-branch: 'main' \ No newline at end of file + args: --no-progress './**/*.md' diff --git a/template/.github/workflows/package-development-workflow.yml b/template/.github/workflows/package-development-workflow.yml index 807f666..99f4b95 100644 --- a/template/.github/workflows/package-development-workflow.yml +++ b/template/.github/workflows/package-development-workflow.yml @@ -77,12 +77,6 @@ jobs: - name: Test source code uses: simatic-ax/actions/apax-test@v4 - - name: Check links - uses: gaurav-nelson/github-action-markdown-link-check@v1 - with: - check-modified-files-only: 'yes' - base-branch: 'main' - - name: Upload build artifacts if: ${{ github.event_name == 'workflow_call' || github.event_name == 'release'}} uses: actions/upload-artifact@v7 @@ -94,3 +88,17 @@ jobs: bin/llvm retention-days: 90 if-no-files-found: error + + check-links: + name: Check links + runs-on: ubuntu-24.04 + steps: + - name: Checkout Code + uses: actions/checkout@v7 + with: + ref: ${{ inputs.ref != '' && inputs.ref || github.ref }} + + - name: Check links in Markdown files + uses: lycheeverse/lychee-action@v2 + with: + args: --no-progress './**/*.md'