Skip to content

Commit

Permalink
Bump StatsBase to 0.34 and update workflows (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
rikhuijzer committed Mar 2, 2024
1 parent 477c996 commit 61eca0b
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 7 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,28 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
version:
- "1.7"
- "1" # Latest stable release.
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
with:
version: '1.7'
version: ${{ matrix.version }}
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest

docs:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: julia-actions/julia-buildpkg@latest
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg;
Expand Down
18 changes: 17 additions & 1 deletion .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,22 @@ on:
types:
- created
workflow_dispatch:

inputs:
lookback:
default: 3
permissions:
actions: read
checks: read
contents: write
deployments: read
issues: read
discussions: read
packages: read
pages: read
pull-requests: read
repository-projects: read
security-events: read
statuses: read
jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
Expand All @@ -13,3 +28,4 @@ jobs:
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.COMPATHELPER_PRIV }}
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "EffectSizes"
uuid = "e248de7e-9197-5860-972e-353a2af44d75"
authors = ["harryscholes <harryscholes@gmail.com>"]
version = "1.0.0"
version = "1.0.1"

[deps]
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Expand All @@ -11,7 +11,7 @@ SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"

[compat]
Distributions = "0.25"
StatsBase = "0.33"
StatsBase = "0.33, 0.34"
SpecialFunctions = "2.1"
julia = "1.7"

Expand Down
2 changes: 1 addition & 1 deletion src/EffectSizes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This function updates the module docs and is called before running the doctests.
This way, the docs in README.md are also tested.
"""
function _update_module_doc()
path = joinpath(@__DIR__, "..", "README.md")
path = pkgdir(EffectSizes, "README.md")
text = read(path, String)
# The code blocks in the README.md should be julia blocks the syntax highlighter.
text = replace(text, "```julia" => "```jldoctest")
Expand Down

2 comments on commit 61eca0b

@rikhuijzer
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@JuliaRegistrator
Copy link

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/102115

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

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:

git tag -a v1.0.1 -m "<description of version>" 61eca0b87d5289b55fdff07f15356d12221f20f1
git push origin v1.0.1

Please sign in to comment.