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

chore: modern Fossa installation; link checker updates #701

Merged
merged 3 commits into from
Oct 24, 2022
Merged
Show file tree
Hide file tree
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
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