Skip to content

Update sbt-pekko-build to 0.3.3 #387

Update sbt-pekko-build to 0.3.3

Update sbt-pekko-build to 0.3.3 #387

Workflow file for this run

name: Link Validator
permissions: {}
on:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 6 * * 1'
jobs:
validate-links:
runs-on: ubuntu-20.04
if: github.repository == 'apache/incubator-pekko-http'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout GitHub merge
if: github.event.pull_request
run: |-
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch
git checkout scratch
# needs Java 8, see https://github.com/apache/incubator-pekko-http/pull/204#discussion_r1265279415
- name: Setup Java 8
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
- name: Cache Coursier cache
uses: coursier/cache-action@v6
- name: Setup Coursier
uses: coursier/[email protected]
# assign an arbitrary version number so that scripts/link-validator.conf has a predictable set of links to work with
- name: Create the Pekko site
run: sbt -Dpekko.genjavadoc.enabled=true "set ThisBuild / version := \"1.0.0\"; Javaunidoc/doc; Compile/unidoc; docs/paradox"
- name: Run Link Validator
run: cs launch net.runne::site-link-validator:0.2.2 -- scripts/link-validator.conf