Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: merge branch 'development' for release
- Loading branch information
Showing
16 changed files
with
898 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: CI | ||
|
||
on: | ||
- pull_request | ||
- push | ||
|
||
jobs: | ||
Test: | ||
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
version: | ||
- '1.3' | ||
- '1.4' | ||
- 'nightly' | ||
os: | ||
- ubuntu-latest | ||
- macOS-latest | ||
- windows-latest | ||
arch: | ||
- x64 | ||
env: | ||
OS: ${{ matrix.os }} | ||
JULIA: ${{ matrix.version }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: ${{ matrix.version }} | ||
arch: ${{ matrix.arch }} | ||
- uses: julia-actions/julia-buildpkg@latest | ||
- uses: julia-actions/julia-runtest@latest | ||
- uses: julia-actions/julia-processcoverage@v1 | ||
- name: Codecov | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
file: ./lcov.info | ||
env_vars: OS,JULIA | ||
- name: Coveralls parallel | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel: true | ||
path-to-lcov: ./lcov.info | ||
coveralls: | ||
needs: test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Aggregate Coveralls Reports | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel-finished: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Code Format Check | ||
|
||
on: | ||
push: | ||
branches: | ||
- development | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
julia-version: [1.4.0] | ||
julia-arch: [x86] | ||
os: [ubuntu-latest] | ||
steps: | ||
- uses: julia-actions/setup-julia@latest | ||
with: | ||
version: ${{ matrix.julia-version }} | ||
|
||
- uses: actions/checkout@v1 | ||
- name: Install JuliaFormatter and format | ||
run: | | ||
julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter", version="0.3.9"))' | ||
julia -e 'using JuliaFormatter; format("."; indent = 2, remove_extra_newlines = true, verbose = true, whitespace_typedefs = true, whitespace_ops_in_indices = true)' | ||
- name: Format check | ||
run: | | ||
julia -e ' | ||
out = Cmd(`git diff --name-only`) |> read |> String | ||
if out == "" | ||
exit(0) | ||
else | ||
@error "Some files have not been formatted properly!" | ||
write(stdout, out) | ||
exit(1) | ||
end' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: CompatHelper | ||
|
||
on: | ||
schedule: | ||
- cron: 0 0 * * * | ||
|
||
jobs: | ||
CompatHelper: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: julia-actions/setup-julia@latest | ||
with: | ||
version: 1.4 | ||
- name: Install CompatHelper | ||
run: julia -e 'using Pkg; Pkg.add("CompatHelper")' | ||
- name: Update Dependencies | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: julia -e 'using CompatHelper; CompatHelper.main(; master_branch = "development")' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Documentation | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- development | ||
- master | ||
tags: 'v*' | ||
|
||
jobs: | ||
docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: '1.4' | ||
- name: Install dependencies | ||
run: | | ||
julia --project=docs -e ' | ||
using Pkg | ||
Pkg.develop(PackageSpec(path=pwd())) | ||
Pkg.instantiate()' | ||
- name: Build & Deploy | ||
run: julia --project=docs docs/make.jl | ||
env: | ||
# For authentication with GitHub Actions | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Semantic Release | ||
uses: cycjimmy/semantic-release-action@v2 | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
with: | ||
semantic_version: 17.1.1 | ||
extra_plugins: | | ||
@semantic-release/changelog | ||
@semantic-release/git | ||
@google/semantic-release-replace-plugin | ||
- name: Notify JuliaRegistrator of new release | ||
uses: peter-evans/commit-comment@v1 | ||
with: | ||
body: '@JuliaRegistrator register branch=main' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"branches": ["main"], | ||
"dryRun": true, | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
[ | ||
"@google/semantic-release-replace-plugin", { | ||
"replacements": [ | ||
"files": ["Project.toml"], | ||
"from": "version = \"${lastRelease.version}\"", | ||
"to": "version = \"${nextRelease.version}\"", | ||
"results": [ | ||
{ | ||
"file": "Project.toml", | ||
"hasChanged": true, | ||
"numMatches": 1, | ||
"numReplacements": 1 | ||
} | ||
], | ||
"countMatches": true | ||
] | ||
} | ||
], | ||
[ | ||
"@semantic-release/changelog", { | ||
"changelogTitle": "Changelog" | ||
} | ||
], | ||
[ | ||
"@semantic-release/git", { | ||
"assets": ["CHANGELOG.md", "Project.toml"], | ||
"message": "chore: release v${nextRelease.version}\n\n${nextRelease.notes}" | ||
} | ||
], | ||
"@semantic-release/github" | ||
], | ||
"repositoryUrl": "git@github.com:bauglir/Kroki.jl.git" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
# Kroki.jl | ||
|
||
Integrations for [Kroki](https://kroki.io) supported diagrams and plots. | ||
[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://bauglir.github.io/Kroki.jl/stable) | ||
[![](https://img.shields.io/badge/docs-latest-blue.svg)](https://bauglir.github.io/Kroki.jl/latest) | ||
[![Actions Status](https://github.com/bauglir/Kroki.jl/workflows/CI/badge.svg)](https://github.com/bauglir/Kroki.jl/actions) | ||
[![Codecov](https://codecov.io/gh/bauglir/Kroki.jl/branch/development/graph/badge.svg)](https://codecov.io/gh/bauglir/Kroki.jl) | ||
[![Coveralls](https://coveralls.io/repos/github/bauglir/Kroki.jl/badge.svg?branch=development)](https://coveralls.io/github/bauglir/Kroki.jl?branch=development) | ||
[![[Semantic Release]](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) | ||
|
||
Integrations for [Kroki](https://kroki.io) supported diagrams and plots. See | ||
the [documentation](https://bauglir.github.io/Kroki.jl/stable) for more | ||
information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
# This file is machine-generated - editing it directly is not advised | ||
|
||
[[Base64]] | ||
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" | ||
|
||
[[CodecZlib]] | ||
deps = ["TranscodingStreams", "Zlib_jll"] | ||
git-tree-sha1 = "ded953804d019afa9a3f98981d99b33e3db7b6da" | ||
uuid = "944b1d66-785c-5afd-91f1-9de20f533193" | ||
version = "0.7.0" | ||
|
||
[[Dates]] | ||
deps = ["Printf"] | ||
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a" | ||
|
||
[[Distributed]] | ||
deps = ["Random", "Serialization", "Sockets"] | ||
uuid = "8ba89e20-285c-5b6f-9357-94700520ee1b" | ||
|
||
[[DocStringExtensions]] | ||
deps = ["LibGit2", "Markdown", "Pkg", "Test"] | ||
git-tree-sha1 = "88bb0edb352b16608036faadcc071adda068582a" | ||
uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" | ||
version = "0.8.1" | ||
|
||
[[Documenter]] | ||
deps = ["Base64", "Dates", "DocStringExtensions", "InteractiveUtils", "JSON", "LibGit2", "Logging", "Markdown", "REPL", "Test", "Unicode"] | ||
git-tree-sha1 = "646ebc3db49889ffeb4c36f89e5d82c6a26295ff" | ||
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
version = "0.24.7" | ||
|
||
[[HTTP]] | ||
deps = ["Base64", "Dates", "IniFile", "MbedTLS", "Sockets"] | ||
git-tree-sha1 = "cd60d9a575d3b70c026d7e714212fd4ecf86b4bb" | ||
uuid = "cd3eb016-35fb-5094-929b-558a96fad6f3" | ||
version = "0.8.13" | ||
|
||
[[IniFile]] | ||
deps = ["Test"] | ||
git-tree-sha1 = "098e4d2c533924c921f9f9847274f2ad89e018b8" | ||
uuid = "83e8ac13-25f8-5344-8a64-a9f2b223428f" | ||
version = "0.5.0" | ||
|
||
[[InteractiveUtils]] | ||
deps = ["Markdown"] | ||
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240" | ||
|
||
[[JSON]] | ||
deps = ["Dates", "Mmap", "Parsers", "Unicode"] | ||
git-tree-sha1 = "b34d7cef7b337321e97d22242c3c2b91f476748e" | ||
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6" | ||
version = "0.21.0" | ||
|
||
[[Kroki]] | ||
deps = ["Base64", "CodecZlib", "DocStringExtensions", "HTTP"] | ||
path = ".." | ||
uuid = "b3565e16-c1f2-4fe9-b4ab-221c88942068" | ||
version = "0.1.0" | ||
|
||
[[LibGit2]] | ||
deps = ["Printf"] | ||
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433" | ||
|
||
[[Libdl]] | ||
uuid = "8f399da3-3557-5675-b5ff-fb832c97cbdb" | ||
|
||
[[Logging]] | ||
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568" | ||
|
||
[[Markdown]] | ||
deps = ["Base64"] | ||
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a" | ||
|
||
[[MbedTLS]] | ||
deps = ["Dates", "MbedTLS_jll", "Random", "Sockets"] | ||
git-tree-sha1 = "a9e2221f06b42f56052f43ad7edecb01d0ef5ab4" | ||
uuid = "739be429-bea8-5141-9913-cc70e7f3736d" | ||
version = "1.0.1" | ||
|
||
[[MbedTLS_jll]] | ||
deps = ["Libdl", "Pkg"] | ||
git-tree-sha1 = "066a4467008745eed36dad973ceb66405785a621" | ||
uuid = "c8ffd9c3-330d-5841-b78e-0817d7145fa1" | ||
version = "2.16.0+1" | ||
|
||
[[Mmap]] | ||
uuid = "a63ad114-7e13-5084-954f-fe012c677804" | ||
|
||
[[Parsers]] | ||
deps = ["Dates", "Test"] | ||
git-tree-sha1 = "75d07cb840c300084634b4991761886d0d762724" | ||
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0" | ||
version = "1.0.1" | ||
|
||
[[Pkg]] | ||
deps = ["Dates", "LibGit2", "Libdl", "Logging", "Markdown", "Printf", "REPL", "Random", "SHA", "UUIDs"] | ||
uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" | ||
|
||
[[Printf]] | ||
deps = ["Unicode"] | ||
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7" | ||
|
||
[[REPL]] | ||
deps = ["InteractiveUtils", "Markdown", "Sockets"] | ||
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb" | ||
|
||
[[Random]] | ||
deps = ["Serialization"] | ||
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | ||
|
||
[[SHA]] | ||
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce" | ||
|
||
[[Serialization]] | ||
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b" | ||
|
||
[[Sockets]] | ||
uuid = "6462fe0b-24de-5631-8697-dd941f90decc" | ||
|
||
[[Test]] | ||
deps = ["Distributed", "InteractiveUtils", "Logging", "Random"] | ||
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
|
||
[[TranscodingStreams]] | ||
deps = ["Random", "Test"] | ||
git-tree-sha1 = "7c53c35547de1c5b9d46a4797cf6d8253807108c" | ||
uuid = "3bb67fe8-82b1-5028-8e26-92a6c54297fa" | ||
version = "0.9.5" | ||
|
||
[[UUIDs]] | ||
deps = ["Random", "SHA"] | ||
uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4" | ||
|
||
[[Unicode]] | ||
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" | ||
|
||
[[Zlib_jll]] | ||
deps = ["Libdl", "Pkg"] | ||
git-tree-sha1 = "2f6c3e15e20e036ee0a0965879b31442b7ec50fa" | ||
uuid = "83775a58-1f1d-513f-b197-d71354ab007a" | ||
version = "1.2.11+9" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[deps] | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
Kroki = "b3565e16-c1f2-4fe9-b4ab-221c88942068" | ||
|
||
[compat] | ||
Documenter = "0.24" |
Oops, something went wrong.
4c74cc3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register branch=main
4c74cc3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/18364
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: