Skip to content

Commit

Permalink
chore: modern Fossa installation; link checker updates (#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
ennru authored Oct 24, 2022
1 parent 8387088 commit 58ce41f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"
20 changes: 10 additions & 10 deletions .github/workflows/link-validator.yml
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
Expand All @@ -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
2 changes: 1 addition & 1 deletion docs/src/main/paradox/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
**Release `6.0.0` updates H2 to version 2.1.212 which is not compatible to the previous 1.4.200***

H2 has undergone considerable changes that broke backwards compatibility to make H2 SQL Standard compliant.
For migration please refer to the H2 [migration guide](http://www.h2database.com/html/migration-to-v2.html)
For migration please refer to the H2 [migration guide](https://www.h2database.com/html/migration-to-v2.html)


## Migrating to version 5.0.0
Expand Down

0 comments on commit 58ce41f

Please sign in to comment.