Skip to content

Commit 8afc692

Browse files
authored
Merge pull request #412 from JuliaParallel/jps/compathelper
Add CompatHelper, UB StatsBase to 0.34
2 parents 86edf9f + 5917cd1 commit 8afc692

File tree

3 files changed

+40
-5
lines changed

3 files changed

+40
-5
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CompatHelper
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
workflow_dispatch:
7+
8+
jobs:
9+
CompatHelper:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Get Julia compatibility
14+
id: julia_compat
15+
# NOTE: this requires a Julia compat lower-bound with minor version!
16+
run : |
17+
version=$(grep '^julia = ' Project.toml | grep -o '".*"' | cut -d '"' -f2)
18+
echo "::set-output name=version::$version"
19+
- uses: julia-actions/setup-julia@v1
20+
with:
21+
version: ${{ steps.julia_compat.outputs.version }}
22+
- name: Install CompatHelper
23+
run: |
24+
import Pkg
25+
name = "CompatHelper"
26+
version = "2"
27+
Pkg.add(; name, version)
28+
shell: julia --color=yes {0}
29+
- name: Run CompatHelper
30+
run: |
31+
using CompatHelper
32+
CompatHelper.main()
33+
shell: julia --color=yes {0}
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Manifest.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ version = "0.12.10"
3636

3737
[[deps.Compat]]
3838
deps = ["Dates", "LinearAlgebra", "UUIDs"]
39-
git-tree-sha1 = "4e88377ae7ebeaf29a047aa1ee40826e0b708a5d"
39+
git-tree-sha1 = "5ce999a19f4ca23ea484e92a1774a61b8ca4cf8e"
4040
uuid = "34da2185-b29b-5c13-b0c7-acf172513d20"
41-
version = "4.7.0"
41+
version = "4.8.0"
4242

4343
[[deps.CompilerSupportLibraries_jll]]
4444
deps = ["Artifacts", "Libdl"]
@@ -211,9 +211,9 @@ version = "1.6.0"
211211

212212
[[deps.StatsBase]]
213213
deps = ["DataAPI", "DataStructures", "LinearAlgebra", "LogExpFunctions", "Missings", "Printf", "Random", "SortingAlgorithms", "SparseArrays", "Statistics", "StatsAPI"]
214-
git-tree-sha1 = "d1bf48bfcc554a3761a133fe3a9bb01488e06916"
214+
git-tree-sha1 = "75ebe04c5bed70b91614d684259b661c9e6274a4"
215215
uuid = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
216-
version = "0.33.21"
216+
version = "0.34.0"
217217

218218
[[deps.Test]]
219219
deps = ["InteractiveUtils", "Logging", "Random", "Serialization"]

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ DataStructures = "0.18"
2828
MacroTools = "0.5"
2929
MemPool = "0.4.3"
3030
Requires = "1"
31-
StatsBase = "0.28, 0.29, 0.30, 0.31, 0.32, 0.33"
31+
StatsBase = "0.28, 0.29, 0.30, 0.31, 0.32, 0.33, 0.34"
3232
TimespanLogging = "0.1"
3333
julia = "1.7"
3434

0 commit comments

Comments
 (0)