Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Nov 22, 2023
1 parent 9b8d486 commit f293873
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 37 deletions.
3 changes: 0 additions & 3 deletions .github/FUNDING.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/dependabot.yml

This file was deleted.

18 changes: 16 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java-version: [8, 17]

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -46,8 +45,23 @@ jobs:

- run: ./mill -i mill.scalalib.scalafmt.ScalafmtModule/checkFormatAll __.sources


check-docs-updated:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17

- run: ./mill -i "__.test" + generateTutorial + generateReference && git diff --exit-code

publish-sonatype:
if: github.repository == 'com-lihaoyi/os-lib' && contains(github.ref, 'refs/tags/')
if: github.repository == 'com-lihaoyi/scalasql' && contains(github.ref, 'refs/tags/')
needs: test
runs-on: ubuntu-latest
env:
Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/dependency-graph.yml

This file was deleted.

2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ ivy"com.lihaoyi::scalasql:0.1.0"

* Running all unit tests: `./mill -i -w "scalasql[2.13.8].test"`
* Running all unit tests on one database: `./mill -i -w "scalasql[2.13.8].test scalasql.sqlite"`
* Re-generating docs: `./mill -i "scalasql[2.13.8].test" + generateTutorial + generateReference`
* Re-generating docs: `./mill -i "__.test" + generateTutorial + generateReference`
* Note that ScalaSql's reference docs are extracted from the test suite, and thus we need
to make sure to run the test suite before re-generating them.

Expand Down

0 comments on commit f293873

Please sign in to comment.