Commit f263d4a 1 parent 087dd4a commit f263d4a Copy full SHA for f263d4a
File tree 3 files changed +21
-10
lines changed
3 files changed +21
-10
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
test :
9
- runs-on : ubuntu-20.04
9
+ runs-on : ubuntu-latest
10
10
steps :
11
11
- name : Checkout
12
- uses : actions/checkout@v2.3.4
13
- - name : Setup Scala with JDK 14
14
- uses : olafurpg/setup-scala@v13
12
+ uses : actions/checkout@v4
13
+
14
+ - name : Setup Scala with JDK 21
15
+ uses : actions/setup-java@v3
15
16
with :
16
- java-version : " adopt@1.14"
17
+ distribution : adopt
18
+ java-version : 21
19
+ check-latest : true
20
+ cache : sbt
21
+
17
22
- name : Build and Test
18
23
run : sbt -v +test
Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
publish :
9
- runs-on : ubuntu-20.04
9
+ runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v2.3.4
11
+ - uses : actions/checkout@v4
12
12
with :
13
13
fetch-depth : 0
14
- - uses : olafurpg/setup-scala@v13
14
+
15
+ - uses : actions/setup-java@v3
16
+ with :
17
+ distribution : corretto
18
+ java-version : 21
19
+ check-latest : true
20
+ cache : sbt
15
21
- run : sbt ci-release
16
22
env :
17
23
PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ To get started check the documentation on [https://pokeapi.co/docs/v2](https://p
12
12
Add the following to your build.sbt:
13
13
14
14
``` scala
15
- libraryDependencies += " io.github.juliano" % " pokeapi-scala_3" % " 0.1 .0"
15
+ libraryDependencies += " io.github.juliano" % " pokeapi-scala_3" % " 0.3 .0"
16
16
```
17
17
18
18
### ` Sttp ` backends support
@@ -27,7 +27,7 @@ It's possible to [list / paginate resources](https://pokeapi.co/docs/v2#resource
27
27
28
28
### Caching
29
29
30
- Every response is automatically cached in memory, making all subsequent requests for the same resource pull cached data.
30
+ Every response is automatically cached in memory, making all subsequent requests to the same resource pull cached data.
31
31
32
32
## Examples
33
33
You can’t perform that action at this time.
0 commit comments