Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
muqiuhan committed Jul 26, 2024
1 parent 0491594 commit 3e6451f
Show file tree
Hide file tree
Showing 9 changed files with 1,823 additions and 10 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/BuildAndTest.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Test
name: Build

on:
pull_request:
Expand All @@ -9,7 +9,7 @@ on:

jobs:
build:
name: Build and Test
name: Build
strategy:
matrix:
os: [ubuntu-latest]
Expand Down Expand Up @@ -41,7 +41,4 @@ jobs:
cache: sbt

- name: Build
run: sbt compile

- name: Test
run: sbt test
run: sbt compile
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,5 @@ build/

/.idea
/.bsp
/project
/.bloop
/.metals
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

![Scala 3.4.2](https://img.shields.io/badge/Scala3.3.0-%23DC322F)

![Build and Run](https://github.com/muqiuhan/HanMQ/actions/workflows/BuildAndTest.yaml/badge.svg)
![Build](https://github.com/muqiuhan/HanMQ/actions/workflows/BuildAndTest.yaml/badge.svg)

<img src="./.github/demo.png">

Expand Down
2 changes: 0 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ lazy val root = project
"com.outr" %% "scribe" % "3.15.0",
"io.netty" % "netty-all" % "4.1.50.Final",
"org.apache.commons" % "commons-lang3" % "3.4",
"com.alibaba" % "fastjson" % "1.2.52",
"ch.qos.logback" % "logback-classic" % "1.2.10",
"org.scalatest" %% "scalatest" % "3.2.17" % "test",
"org.java-websocket" % "Java-WebSocket" % "1.3.8"
)
)
24 changes: 24 additions & 0 deletions project/.bloop/bloop.settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"javaSemanticDBVersion": "0.10.0",
"semanticDBVersion": "4.9.7",
"supportedScalaVersions": [
"2.13.14",
"2.12.19",
"2.12.18",
"2.12.17",
"2.12.16",
"2.13.11",
"2.13.12",
"2.13.13",
"2.11.12",
"2.12.12",
"2.12.13",
"2.12.14",
"2.12.15",
"2.13.7",
"2.13.8",
"2.13.9",
"2.13.10"
],
"enableBestEffortMode": true
}
1,778 changes: 1,778 additions & 0 deletions project/.bloop/hanmq-build.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version=1.10.1
8 changes: 8 additions & 0 deletions project/metals.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// format: off
// DO NOT EDIT! This file is auto-generated.

// This file enables sbt-bloop to create bloop config files.

addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.6.0")

// format: on
8 changes: 8 additions & 0 deletions project/project/metals.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// format: off
// DO NOT EDIT! This file is auto-generated.

// This file enables sbt-bloop to create bloop config files.

addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.6.0")

// format: on

0 comments on commit 3e6451f

Please sign in to comment.