Skip to content

Commit

Permalink
add scaladoc generation to CI and fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bpholt committed Oct 18, 2021
1 parent 311a79c commit ff8abd8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,22 @@ jobs:
~/Library/Caches/Coursier/v1
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- name: Build and test project
run: sbt "tests_${{ matrix.cats-effect }}${{ matrix.scala }} / test"

- name: Check unused and undeclared dependencies
run: |
sbt undeclaredCompileDependenciesTest unusedCompileDependenciesTest
sbt \
"fs2-pgp_${{ matrix.cats-effect }}${{ matrix.scala }} / undeclaredCompileDependenciesTest" \
"fs2-pgp_${{ matrix.cats-effect }}${{ matrix.scala }} / unusedCompileDependenciesTest" \
"pgp-testkit_${{ matrix.cats-effect }}${{ matrix.scala }} / undeclaredCompileDependenciesTest" \
"pgp-testkit_${{ matrix.cats-effect }}${{ matrix.scala }} / unusedCompileDependenciesTest"
- name: Build and test project
run: sbt "tests_${{ matrix.cats-effect }}${{ matrix.scala }} / test"
- name: Generate scaladoc
run: |
sbt \
"fs2-pgp_${{ matrix.cats-effect }}${{ matrix.scala }} / doc" \
"pgp-testkit_${{ matrix.cats-effect }}${{ matrix.scala }} / doc"
- name: Compress target directories
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ object BouncyCastleResource {
val previousCount = timesBouncyCastleHasBeenRegistered.getAndIncrement()
val position = Security.addProvider(provider)

/**
/*
* If BouncyCastle was already registered (as indicated by the returned
* position being -1) but we didn't register it (as indicated
* by the previous count being 0, then increment the counter so we
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ object BouncyCastleResource {
val previousCount = timesBouncyCastleHasBeenRegistered.getAndIncrement()
val position = Security.addProvider(provider)

/**
/*
* If BouncyCastle was already registered (as indicated by the returned
* position being -1) but we didn't register it (as indicated
* by the previous count being 0, then increment the counter so we
Expand Down

0 comments on commit ff8abd8

Please sign in to comment.