Skip to content

Commit

Permalink
Bump scala to 2.13.5 (#38)
Browse files Browse the repository at this point in the history
* bump scala to 2.13.5

* drop unused MonadError from authorization code provider
  • Loading branch information
majk-p committed Mar 4, 2021
1 parent ac508e4 commit 9c6a66d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.12.12, 2.13.4]
scala: [2.12.12, 2.13.5]
java: [[email protected]]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.13.4]
scala: [2.13.5]
java: [[email protected]]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -110,12 +110,12 @@ jobs:
tar xf targets.tar
rm targets.tar
- name: Download target directories (2.13.4)
- name: Download target directories (2.13.5)
uses: actions/download-artifact@v2
with:
name: target-${{ matrix.os }}-2.13.4-${{ matrix.java }}
name: target-${{ matrix.os }}-2.13.5-${{ matrix.java }}

- name: Inflate target directories (2.13.4)
- name: Inflate target directories (2.13.5)
run: |
tar xf targets.tar
rm targets.tar
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ inThisBuild(
def crossPlugin(x: sbt.librarymanagement.ModuleID) = compilerPlugin(x.cross(CrossVersion.full))

val Scala212 = "2.12.12"
val Scala213 = "2.13.4"
val Scala213 = "2.13.5"

val GraalVM11 = "[email protected]"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.ocadotechnology.sttp.oauth2

import cats.MonadError
import eu.timepit.refined.api.Refined
import eu.timepit.refined.string.Url
import eu.timepit.refined.refineV
Expand Down Expand Up @@ -99,7 +98,7 @@ object AuthorizationCodeProvider {

}

def uriInstance[F[_]: MonadError[*[_], Throwable]](
def uriInstance[F[_]](
baseUrl: Uri,
redirectUri: Uri,
clientId: String,
Expand Down

0 comments on commit 9c6a66d

Please sign in to comment.