Skip to content
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
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
59 changes: 59 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name-template: '$RESOLVED_VERSION'
tag-template: '$RESOLVED_VERSION'

version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: minor

categories:
- title: 'Features'
label: 'enhancement'
- title: 'Bug Fixes'
label: 'bug'

exclude-labels:
- 'skip'

autolabeler:
- label: 'bug'
title:
- '/.*\[fix\].*/'
- label: 'patch'
title:
- '/.*\[fix\].*/'
- label: 'enhancement'
title:
- '/.*\[feat\].*/'
- label: 'minor'
title:
- '/.*\[feat\].*/'
- label: 'skip'
title:
- '/.*\[skip\].*/'
- label: 'major'
title:
- '/.*\[breaking\].*/'

replacers:
- search: '/\[feat\]/g'
replace: ''
- search: '/\[fix\]/g'
replace: ''
- search: '/\[skip\]/g'
replace: ''
- search: '/\[breaking\]/g'
replace: ''

template: |
# What's Changed

$CHANGES

46 changes: 46 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: CI

on:
push:
branches: [master, main]
pull_request:
branches: [master, main]

jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java: [ '17', '21', '25' ]
steps:
- run: env
shell: bash
- uses: actions/checkout@v6
- uses: sbt/setup-sbt@v1
- uses: coursier/cache-action@v8
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: ${{ matrix.java }}
check-latest: true
- name: tests
run: |
sbt clean test

formatting:
runs-on: ubuntu-latest
steps:
- run: env
shell: bash
- uses: actions/checkout@v6
- uses: sbt/setup-sbt@v1
- uses: coursier/cache-action@v8
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 17
check-latest: true
- name: Formatting
run: |
sbt scalafmtSbtCheck scalafmtCheck test:scalafmtCheck
26 changes: 26 additions & 0 deletions .github/workflows/draft.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release Drafter

on:
push:
branches:
- main

pull_request:
types: [opened, reopened, synchronize]

permissions:
contents: read

jobs:
update_release_draft:
runs-on: ubuntu-latest
permissions:
# write permission is required to create a github release
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
steps:
- uses: release-drafter/release-drafter@v7.1.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release

on:
push:
branches: [master, main]
release:
types: [ published ]

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
publish:
runs-on: ubuntu-latest
steps:
- run: env
shell: bash
- uses: actions/checkout@v6
- uses: sbt/setup-sbt@v1
- uses: coursier/cache-action@v8
- uses: olafurpg/setup-gpg@v3
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 17
check-latest: true
- run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
20 changes: 20 additions & 0 deletions .github/workflows/scala-steward.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Scala Steward

# This workflow will launch everyday at 00:00
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch: {}

jobs:
scala-steward:
timeout-minutes: 45
runs-on: ubuntu-latest
name: Scala Steward
steps:
- uses: sbt/setup-sbt@v1
- name: Scala Steward
uses: scala-steward-org/scala-steward-action@v2.86.0
with:
github-repository: ${{ github.repository }}
github-token: ${{ secrets.SCALA_STEWARD }}
11 changes: 11 additions & 0 deletions .jvmopts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This is a comment
-Dfile.encoding=UTF8
-Xms128M
-Xmx4G
-Xss16M
-XX:+UseG1GC
--add-opens=java.base/java.util=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-exports=java.base/sun.nio.ch=ALL-UNNAMED
--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED
--enable-native-access=ALL-UNNAMED # Removes some warnings when starting sbt on JDK25+
22 changes: 22 additions & 0 deletions .scalafix.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
rules = [
DisableSyntax
// ExplicitResultTypes // Waiting for: https://github.com/scalacenter/scalafix/issues/1583
LeakingImplicitClassVal
NoAutoTupling
NoValInForComprehension
OrganizeImports
RemoveUnused
RedundantSyntax
]

DisableSyntax.regex = []
DisableSyntax.noReturns = true
DisableSyntax.noXml = true
DisableSyntax.noFinalize = true

// Preset rules compatible with Intellij IDEA
// See: https://scalacenter.github.io/scalafix/docs/rules/OrganizeImports.html#intellij_2020_3
OrganizeImports {
preset = INTELLIJ_2020_3
targetDialect = Scala3
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Scalafix is configured with targetDialect = Scala3, which can rewrite imports/syntax to Scala 3 forms even though the build uses Scala 2.13. This is likely to introduce non-compiling rewrites; align targetDialect with the actual Scala version (or migrate to Scala 3).

Suggested change
targetDialect = Scala3
targetDialect = Scala213

Copilot uses AI. Check for mistakes.
}
33 changes: 31 additions & 2 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,31 @@
style = defaultWithAlign
maxColumn = 120
version = "3.10.7"
runner.dialect = scala3 # https://scalameta.org/scalafmt/docs/configuration.html#scala-3
Comment thread
guizmaii marked this conversation as resolved.
runner.dialectOverride.allowSignificantIndentation = false # See https://x.com/ghostdogpr/status/1706589471469425074
maxColumn = 140
align.preset = most
continuationIndent.defnSite = 2
assumeStandardLibraryStripMargin = true
docstrings.style = Asterisk
lineEndings = preserve
includeCurlyBraceInSelectChains = true
danglingParentheses.preset = true
optIn.annotationNewlines = true
newlines.alwaysBeforeMultilineDef = false
newlines.implicitParamListModifierPrefer = before
trailingCommas = keep
docstrings.wrap = no

rewrite.rules = [RedundantBraces, SortModifiers]

rewrite.sortModifiers.order = [
"implicit", "override", "private", "protected", "final", "sealed", "abstract", "lazy"
]
rewrite.redundantBraces.generalExpressions = false
rewrite.redundantBraces.stringInterpolation = true
rewriteTokens = {
"⇒": "=>"
"→": "->"
"←": "<-"
}

project.excludePaths = []
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# JRubyConcurrentConstantMemoryExcel

[![Build Status](https://travis-ci.org/Colisweb/JRubyConcurrentConstantMemoryExcel.svg?branch=master)](https://travis-ci.org/Colisweb/JRubyConcurrentConstantMemoryExcel)
[![codecov](https://codecov.io/gh/Colisweb/JRubyConcurrentConstantMemoryExcel/branch/master/graph/badge.svg)](https://codecov.io/gh/Colisweb/JRubyConcurrentConstantMemoryExcel)

Goal
----

Expand Down
Loading
Loading