Skip to content

Commit 76a2187

Browse files
committed
hello world!
0 parents  commit 76a2187

File tree

148 files changed

+9132
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+9132
-0
lines changed

.envrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use flake

.github/release-drafter.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name-template: "$RESOLVED_VERSION"
2+
tag-template: "$RESOLVED_VERSION"
3+
template: |
4+
## What’s Changed
5+
6+
$CHANGES
7+
8+
categories:
9+
- title: "🚀 Features"
10+
labels:
11+
- 'feature'
12+
- 'enhancement'
13+
- title: "🐛 Bug Fixes"
14+
labels:
15+
- 'fix'
16+
- 'bug'
17+
- title: "💚 Maintenance"
18+
labels:
19+
- 'chore'
20+
- 'documentation'
21+
- title: "🧱 Dependencies"
22+
labels:
23+
- 'dependencies'
24+
- 'type: dependencies'
25+
26+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
27+
version-resolver:
28+
major:
29+
labels:
30+
- 'breaking'
31+
minor:
32+
labels:
33+
- 'feature'
34+
- 'enhancement'
35+
patch:
36+
labels:
37+
- 'chore'
38+
- 'documentation'
39+
- 'dependencies'
40+
default: patch
41+
exclude-labels:
42+
- 'skip-changelog'

.github/workflows/auto-approve.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Auto approve
2+
3+
on:
4+
pull_request_target
5+
6+
jobs:
7+
auto-approve:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: hmarr/auto-approve-action@v4.0.0
11+
if: github.actor == 'eikek-scala-steward'
12+
with:
13+
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
7+
concurrency:
8+
group: ci-${{ github.event.pull_request.number || github.ref }}
9+
cancel-in-progress: true
10+
11+
jobs:
12+
ci-matrix:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: false
16+
steps:
17+
- uses: actions/checkout@v4.1.6
18+
with:
19+
fetch-depth: 100
20+
- uses: cachix/install-nix-action@v27
21+
- name: sbt ci ${{ github.ref }}
22+
run: nix develop .#ci --command sbt ci
23+
ci:
24+
runs-on: ubuntu-latest
25+
needs: [ci-matrix]
26+
steps:
27+
- name: Aggregate of lint, and all tests
28+
run: echo "ci passed"
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
update_release_draft:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: release-drafter/release-drafter@v6
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release
2+
on:
3+
push:
4+
branches: [ main ]
5+
release:
6+
types: [ published ]
7+
jobs:
8+
release:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4.1.6
12+
with:
13+
fetch-depth: 0
14+
- uses: cachix/install-nix-action@v27
15+
- name: Coursier cache
16+
uses: coursier/cache-action@v6
17+
- name: sbt ci-release ${{ github.ref }}
18+
run: nix develop .#ci --command sbt ci-release
19+
env:
20+
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
21+
PGP_SECRET: ${{ secrets.PGP_SECRET }}
22+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
23+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
target/
2+
.tmp
3+
.direnv/
4+
.bsp/

.mergify.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
pull_request_rules:
2+
- name: assign and label scala-steward's PRs
3+
conditions:
4+
- author=eikek-scala-steward[bot]
5+
actions:
6+
assign:
7+
users: [eikek]
8+
label:
9+
add: ["dependencies"]
10+
- name: automatically merge Scala Steward PRs on CI success
11+
conditions:
12+
- author=eikek-scala-steward[bot]
13+
- base=main
14+
- status-success=ci
15+
actions:
16+
merge:
17+
method: merge

.scalafix.conf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
rules = [
2+
OrganizeImports
3+
]
4+
OrganizeImports {
5+
coalesceToWildcardImportThreshold = 3
6+
expandRelative = true
7+
groupedImports = Keep
8+
importsOrder = Ascii
9+
groups = ["re:javax?\\.", "scala.", "re:(cats|fs2)\\.", "htmx4s.", "*"]
10+
importSelectorsOrder = Ascii
11+
removeUnused = false
12+
targetDialect = Scala3
13+
}

.scalafmt.conf

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
version = "3.8.6"
2+
3+
preset = default
4+
align.preset = some
5+
runner.dialect = scala3
6+
7+
maxColumn = 90
8+
9+
rewrite.rules = [
10+
AvoidInfix
11+
RedundantBraces
12+
RedundantParens
13+
AsciiSortImports
14+
PreferCurlyFors
15+
SortModifiers
16+
]
17+
18+
assumeStandardLibraryStripMargin = true
19+
align.stripMargin = true
20+
21+
docstrings.style = SpaceAsterisk
22+
docstrings.oneline = fold
23+
docstrings.wrap = "yes"

0 commit comments

Comments
 (0)