diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 6c7ad68c..60e76133 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -16,12 +16,11 @@ env: jobs: docker: - runs-on: ${{ matrix.os }} + runs-on: [ubuntu-22.04] needs: [checks] strategy: fail-fast: false matrix: - os: [ubuntu-20.04] make: - name: Build Specs image image: specs @@ -35,15 +34,15 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 with: version: v0.9.1 - name: Login to private registry - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ${{ secrets.REGISTRY_URL }} username: ${{ secrets.REGISTRY_USERNAME }} @@ -62,7 +61,7 @@ jobs: type=semver,pattern={{major}} type=raw,value=latest - name: ${{ matrix.make.name }} - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v6 with: context: . file: Dockerfile @@ -73,11 +72,10 @@ jobs: "TARGET=${{ matrix.make.path }}" checks: - runs-on: ${{ matrix.os }} + runs-on: [ubuntu-22.04] strategy: fail-fast: false matrix: - os: [ubuntu-20.04] lychee_version: [lycheeverse/lychee@v0.13.0] make: - name: docs @@ -90,8 +88,8 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v3 - - name: Install tools - run: | - curl -k https://installer.heliax.click/${{ matrix.lychee_version }}! | bash - - name: Check broken links for ${{ matrix.make.name }} - run: lychee --offline packages/${{ matrix.make.path }}/pages/ \ No newline at end of file + - name: Link Checker + id: lychee + uses: lycheeverse/lychee-action@v1 + with: + args: --offline packages/${{ matrix.make.path }}/pages/ \ No newline at end of file