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

With missing finals #24

Closed
wants to merge 1 commit into from
Closed
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
43 changes: 28 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,37 +11,50 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: coursier/cache-action@v6
- uses: actions/checkout@v2
with:
repository: 'guizmaii/caliban'
ref: 'add_missing_final_in_generated_code'
path: 'caliban'
- uses: actions/[email protected]
with:
distribution: temurin
java-version: 11
check-latest: true
- name: Publish a local version of Caliban
run: |
ls -al
cd caliban
git config --global user.email "[email protected]"
git config --global user.name "Jules Ivanic"
git tag -a v1.2.0-SNAPSHOT-100 -m "v1.2.0-SNAPSHOT-100"
sbt +publishM2
cd ..
- name: Run scalafix and scalafmt
run: sbt ';scalafixAll --check ;scalafmtCheckAll '

ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# - uses: actions/checkout@v2
# with:
# repository: 'guizmaii/caliban'
# ref: 'generate_from_code_5'
# path: 'caliban'
- uses: actions/checkout@v2
with:
repository: 'guizmaii/caliban'
ref: 'add_missing_final_in_generated_code'
path: 'caliban'
- uses: actions/[email protected]
with:
distribution: temurin
java-version: 11
check-latest: true
# - name: Publish a local version of Caliban
# run: |
# ls -al
# cd caliban
# git config --global user.email "[email protected]"
# git config --global user.name "Jules Ivanic"
# git tag -a v1.1.1-SNAPSHOT-40 -m "v1.1.1-SNAPSHOT-40"
# sbt +publishM2
# cd ..
- name: Publish a local version of Caliban
run: |
ls -al
cd caliban
git config --global user.email "[email protected]"
git config --global user.name "Jules Ivanic"
git tag -a v1.2.0-SNAPSHOT-100 -m "v1.2.0-SNAPSHOT-100"
sbt +publishM2
cd ..
- name: Run tests
run: sbt clean test
3 changes: 3 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ ThisBuild / scalafixDependencies ++= List(
"com.github.vovapolu" %% "scaluzzi" % "0.1.20"
)

ThisBuild / resolvers += Resolver.mavenLocal
ThisBuild / resolvers += Resolver.sonatypeRepo("snapshots")

// ### App Modules ###

/**
Expand Down
Empty file.
103 changes: 0 additions & 103 deletions modules/caliban-clients/src/main/scala/generated/Client.scala

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading