Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor CI improvements #370

Merged
merged 5 commits into from
Jul 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand All @@ -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/[email protected]]
make:
- name: docs
Expand All @@ -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/
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1
with:
args: --offline packages/${{ matrix.make.path }}/pages/
Loading