-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: modern Fossa installation; link checker updates (#701)
- Loading branch information
Showing
3 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,17 +17,17 @@ jobs: | |
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves | ||
fetch-depth: 0 | ||
|
||
- name: Cache Coursier cache | ||
uses: coursier/cache-action@v6 | ||
|
||
- name: Set up JDK 11 | ||
uses: olafurpg/setup-scala@v13 | ||
uses: coursier/setup-action@v1 | ||
with: | ||
java-version: [email protected] | ||
|
||
- name: Cache Coursier cache | ||
uses: coursier/[email protected] | ||
jvm: adopt:11 | ||
|
||
- name: FOSSA policy check | ||
run: |- | ||
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/spectrometer/master/install.sh | bash | ||
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash | ||
fossa analyze && fossa test | ||
env: | ||
FOSSA_API_KEY: "${{secrets.FOSSA_API_KEY}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
name: Link Validator | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
schedule: | ||
- cron: '0 6 * * 1' | ||
|
||
jobs: | ||
validate-links: | ||
runs-on: ubuntu-22.04 | ||
if: github.repository == 'akka/akka-persistence-jdbc' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
@@ -19,19 +21,17 @@ jobs: | |
- name: Fetch tags | ||
run: git fetch --depth=100 origin +refs/tags/*:refs/tags/* | ||
|
||
- name: Set up JDK 11 | ||
uses: olafurpg/setup-scala@v10 | ||
with: | ||
java-version: [email protected] | ||
|
||
- name: Cache Coursier cache | ||
uses: coursier/cache-action@v5 | ||
uses: coursier/cache-action@v6 | ||
|
||
- name: Set up JDK 11 and Coursier | ||
uses: coursier/setup-action@v1 | ||
with: | ||
jvm: adopt:11 | ||
apps: cs | ||
|
||
- name: sbt site | ||
run: sbt docs/makeSite | ||
|
||
- name: Install Coursier command line tool | ||
run: curl -fLo cs https://git.io/coursier-cli-linux && chmod +x cs && ./cs | ||
|
||
- name: Run Link Validator | ||
run: ./cs launch net.runne::site-link-validator:0.2.0 -- scripts/link-validator.conf | ||
run: cs launch net.runne::site-link-validator:0.2.3 -- scripts/link-validator.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters