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

Release: v4.0.0-beta2 #812

Merged
merged 29 commits into from
Mar 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
bcf4ff4
KDoc publish CI config
ForteScarlet Feb 25, 2024
3b7e91e
KDoc publish CI config
ForteScarlet Feb 25, 2024
1264862
build(deps): bump dokka from 1.9.10 to 1.9.20
dependabot[bot] Mar 4, 2024
7df76e5
module: 增加一个模块 common-ktor-inputfile 用来提供更简单的向 Ktor 提供表单文件信息的类型 `Inpu…
ForteScarlet Mar 5, 2024
15925e4
Merge pull request #805 from simple-robot/common-ktor-inputfile
ForteScarlet Mar 5, 2024
a5e96fb
fix README for module common-ktor-inputfile
ForteScarlet Mar 5, 2024
ca832cc
Merge pull request #804 from simple-robot/dependabot/gradle/v4-dev/do…
ForteScarlet Mar 8, 2024
fa1fc37
branch test reports upload
ForteScarlet Mar 9, 2024
33cff30
准备一些benchmark,然后放弃
ForteScarlet Mar 9, 2024
f65b33f
snapshot test report uploaded
ForteScarlet Mar 9, 2024
b78ddac
qodana to v4
ForteScarlet Mar 9, 2024
8888e4d
Kover, 但是Qodana用不了
ForteScarlet Mar 9, 2024
37f7e92
简单调整 Session Continuous
ForteScarlet Mar 9, 2024
c757dcd
新LOGO
ForteScarlet Mar 11, 2024
110dafd
LOGO!
ForteScarlet Mar 11, 2024
2c895b1
Remove old logo
ForteScarlet Mar 11, 2024
d1ce3ef
NEW LOGO!
ForteScarlet Mar 12, 2024
734fddf
README.md
ForteScarlet Mar 17, 2024
5c79836
README.md
ForteScarlet Mar 21, 2024
f1488c0
website submodule
ForteScarlet Mar 21, 2024
1d75b6a
更新注释
ForteScarlet Mar 22, 2024
a93c8d0
deps: 更新Kotlin到1.9.23
ForteScarlet Mar 22, 2024
6086471
fix: 修复ContinuousSession测试超时问题
ForteScarlet Mar 22, 2024
3dd7516
fix: 修复ContinuousSession测试问题
ForteScarlet Mar 22, 2024
92b8aa9
Merge pull request #810 from simple-robot/kt-1923
ForteScarlet Mar 23, 2024
7271926
feat(ID): 提供更多与 ID 相关的API
ForteScarlet Mar 24, 2024
5d2e9bc
Merge pull request #811 from simple-robot/ID-API
ForteScarlet Mar 24, 2024
8c1f96c
NumericalID 增加两个toUxx
ForteScarlet Mar 24, 2024
7ac5b6b
release: v4.0.0-beta2
ForteScarlet Mar 24, 2024
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
Empty file added .changelog/v4.0.0-beta2.md
Empty file.
59 changes: 59 additions & 0 deletions .github/workflows/publish-v4-kdoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Publish V4 KDoc
on:
workflow_dispatch:


env:
IS_CI: true
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
GRADLE_OPTS: "-XX:MaxMetaspaceSize=2g -Dfile.encoding=UTF-8"

jobs:
deploy-doc:
name: Deploy V4 API Doc
runs-on: macos-latest
steps:
# 检出仓库代码
- name: Check out repo
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0

# setup Java
- name: Setup java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
cache: 'gradle'

# setup Gradle
- name: Gradle generate documentation
uses: gradle/gradle-build-action@v3
with:
gradle-version: 8.5
arguments: |
dokkaHtmlMultiModule
--info
--warning-mode all
-x test
--build-cache
-Porg.gradle.jvmargs="-Xms4G -XX:MaxMetaspaceSize=2G -Dfile.encoding=UTF-8"
-Porg.gradle.daemon=false
env:
SIMBOT_IS_SNAPSHOT: false

# https://github.com/marketplace/actions/github-pages-action
- name: Push to doc repository
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.PUSH_TOKEN }}
external_repository: simple-robot-library/simbot3-api-docs
publish_branch: kdoc-deploy/main-v4
publish_dir: ./build/dokka/html
destination_dir: main-v4
8 changes: 8 additions & 0 deletions .github/workflows/publish-v4-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ jobs:
gradle-version: 8.5
arguments: assemble allTests --info --warning-mode all --build-cache -Porg.gradle.daemon=false

- name: Upload test reports
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: test-reports-${{ matrix.os }}
path: '**/build/reports/tests'
retention-days: 7

- name: Gradle publish snapshot
uses: gradle/gradle-build-action@v3
with:
Expand Down
25 changes: 23 additions & 2 deletions .github/workflows/qodana_code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- v3-dev
- v4-dev

jobs:
qodana:
Expand All @@ -18,8 +18,29 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
fetch-depth: 0 # a full history is required for pull request analysis
# - uses: actions/setup-java@v4
# with:
# distribution: 'zulu'
# java-version: 21
# cache: 'gradle'
#
# - name: Run Kover for report
# uses: gradle/gradle-build-action@v3
# with:
# gradle-version: 8.5
# arguments: |
# koverHtmlReport
# --info
# --warning-mode all
#
# - name: Archive coverage data # Archive data for using by Qodana
# uses: actions/upload-artifact@v4
# with:
# name: coverage-reports
# path: 'build/reports/kover/**'

- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2023.2
uses: JetBrains/qodana-action@main
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} # read the steps about it below
GITHUB_TOKEN: ${{ secrets.FORLIY_ACCESS_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/test-v4-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ jobs:
if: ${{ always() }}
with:
name: test-reports-${{ matrix.os }}
path: build/test-reports
path: '**/build/reports/tests'
retention-days: 7
1,281 changes: 77 additions & 1,204 deletions .simbot/dokka-assets/logo-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed .simbot/jetbrains.png
Binary file not shown.
90 changes: 90 additions & 0 deletions .simbot/jetbrains.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
78 changes: 78 additions & 0 deletions .simbot/logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed .simbot/logo.png
Binary file not shown.
Loading
Loading