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

Update zio-sbt-ci, zio-sbt-ecosystem, ... to 0.4.0-alpha.25 #812

Merged
Merged
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
42 changes: 21 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ jobs:
continue-on-error: true
steps:
- name: Git Checkout
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
fetch-depth: '0'
- name: Install libuv
run: sudo apt-get update && sudo apt-get install -y libuv1-dev
- name: Setup Scala
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
distribution: corretto
java-version: '17'
check-latest: true
- name: Cache Dependencies
uses: coursier/cache-action@v6
uses: coursier/cache-action@v6.4.5
- name: Check all code compiles
run: sbt +Test/compile
- name: Check artifacts build process
Expand All @@ -47,19 +47,19 @@ jobs:
continue-on-error: false
steps:
- name: Git Checkout
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
fetch-depth: '0'
- name: Install libuv
run: sudo apt-get update && sudo apt-get install -y libuv1-dev
- name: Setup Scala
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
distribution: corretto
java-version: '17'
check-latest: true
- name: Cache Dependencies
uses: coursier/cache-action@v6
uses: coursier/cache-action@v6.4.5
- name: Check if the site workflow is up to date
run: sbt ciCheckGithubWorkflow
- name: Lint
Expand All @@ -79,15 +79,15 @@ jobs:
- name: Install libuv
run: sudo apt-get update && sudo apt-get install -y libuv1-dev
- name: Setup Scala
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
distribution: corretto
java-version: ${{ matrix.java }}
check-latest: true
- name: Cache Dependencies
uses: coursier/cache-action@v6
uses: coursier/cache-action@v6.4.5
- name: Git Checkout
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
fetch-depth: '0'
- name: Test
Expand All @@ -99,19 +99,19 @@ jobs:
if: ${{ github.event_name == 'push' }}
steps:
- name: Git Checkout
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
fetch-depth: '0'
- name: Install libuv
run: sudo apt-get update && sudo apt-get install -y libuv1-dev
- name: Setup Scala
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
distribution: corretto
java-version: '17'
check-latest: true
- name: Cache Dependencies
uses: coursier/cache-action@v6
uses: coursier/cache-action@v6.4.5
- name: Generate Readme
run: sbt docs/generateReadme
- name: Commit Changes
Expand All @@ -128,7 +128,7 @@ jobs:
app_private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v5.0.2
uses: peter-evans/create-pull-request@v6.0.2
with:
body: |-
Autogenerated changes after running the `sbt docs/generateReadme` command of the [zio-sbt-website](https://zio.dev/zio-sbt) plugin.
Expand Down Expand Up @@ -173,19 +173,19 @@ jobs:
if: ${{ github.event_name != 'pull_request' }}
steps:
- name: Git Checkout
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
fetch-depth: '0'
- name: Install libuv
run: sudo apt-get update && sudo apt-get install -y libuv1-dev
- name: Setup Scala
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
distribution: corretto
java-version: '17'
check-latest: true
- name: Cache Dependencies
uses: coursier/cache-action@v6
uses: coursier/cache-action@v6.4.5
- name: Release
run: sbt ci-release
env:
Expand All @@ -202,21 +202,21 @@ jobs:
if: ${{ ((github.event_name == 'release') && (github.event.action == 'published')) || (github.event_name == 'workflow_dispatch') }}
steps:
- name: Git Checkout
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
fetch-depth: '0'
- name: Install libuv
run: sudo apt-get update && sudo apt-get install -y libuv1-dev
- name: Setup Scala
uses: actions/setup-java@v3.13.0
uses: actions/setup-java@v4.2.1
with:
distribution: corretto
java-version: '17'
check-latest: true
- name: Cache Dependencies
uses: coursier/cache-action@v6
uses: coursier/cache-action@v6.4.5
- name: Setup NodeJs
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
registry-url: https://registry.npmjs.org
Expand All @@ -233,7 +233,7 @@ jobs:
if: ${{ (github.event_name == 'release') && (github.event.action == 'published') }}
steps:
- name: Git Checkout
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
fetch-depth: '0'
- name: notify the main repo about the new release of docs package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ object MeterTest extends ZIOSpecDefault {
for {
reader <- ZIO.service[InMemoryMetricReader]
counter <- meter.upDownCounter("test_up_down_counter")
attributes = Attributes(Attribute.boolean("attr2", false))
attributes = Attributes(Attribute.boolean("attr2", value = false))
_ <- counter.add(5, attributes)
_ <- counter.inc(attributes)
_ <- counter.dec(attributes)
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
val zioSbtVersion = "0.4.0-alpha.22"
val zioSbtVersion = "0.4.0-alpha.25"

addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "3.0.2")
addSbtPlugin("com.github.sbt" % "sbt-unidoc" % "0.5.0")
Expand Down