Skip to content

Commit

Permalink
Update scala to 3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
geirolz committed Feb 15, 2024
1 parent 8e9babc commit 33d01eb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ jobs:
matrix:
# supported scala versions
include:
- scala: 3.3.1
name: Scala3_3
- scala: 3.4.0
name: Scala3_4
test-tasks: scalafmtCheck gen-doc coverage test coverageReport

steps:
Expand Down
6 changes: 3 additions & 3 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pull_request_rules:
- "#approved-reviews-by>=1"
- check-success=codecov/patch
- check-success=codecov/project
- check-success=build (Scala3_3)
- check-success=build (Scala3_4)
- base=main
- label!=work-in-progress
actions:
Expand All @@ -13,15 +13,15 @@ pull_request_rules:
- name: automatic merge for master when CI passes and author is steward
conditions:
- author=scala-steward-geirolz[bot]
- check-success=build (Scala3_3)
- check-success=build (Scala3_4)
- base=main
actions:
merge:
method: rebase
- name: automatic merge for master when CI passes and author is dependabot
conditions:
- author=dependabot[bot]
- check-success=build (Scala3_3)
- check-success=build (Scala3_4)
- base=main
actions:
merge:
Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import sbt.project
lazy val prjName = "toolkit"
lazy val prjDescription = "A small toolkit to build functional app with managed resources"
lazy val org = "com.github.geirolz"
lazy val scala33 = "3.3.1"
lazy val supportedScalaVersions = List(scala33)
lazy val scala34 = "3.4.0"
lazy val supportedScalaVersions = List(scala34)

//## global project to no publish ##
val copyReadMe = taskKey[Unit]("Copy generated README to main folder.")
Expand Down
8 changes: 4 additions & 4 deletions docs/source/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Please, drop a ⭐️ if you are interested in this project and you want to supp

## Features

> Resources --build--> Dependencies --> [Finalize Resources] --build--> App Logic -> [Finalize Dependencies]
- **Resource Management:** Toolkit simplifies the management of application resources, such as configuration
settings, logging, and custom resources. By abstracting away the resource handling, it reduces boilerplate code and
provides a clean and concise syntax for managing resources.
Expand All @@ -47,10 +49,8 @@ Please, drop a ⭐️ if you are interested in this project and you want to supp
about, and maintain.

## Notes

- All dependencies and resources are released at the end of the app execution as defined as `Resource[F, *]`.
- If you need to release a resource before the end of the app execution you should use `Resource.use` or equivalent to
build what you need as dependency.
- Resources are released before providing the app execution.
- Dependencies are released at the end of the app execution as defined as `Resource[F, *]`.
- If you need to run an infinite task using `provide*` you should use `F.never` or equivalent to keep the task running.

## Getting Started
Expand Down

0 comments on commit 33d01eb

Please sign in to comment.