Skip to content

Commit 7e9f40b

Browse files
authored
Merge branch 'master' into compathelper/new_version/2023-09-16-00-52-07-949-02230791788
2 parents cd2498e + 2a6e5e9 commit 7e9f40b

30 files changed

Lines changed: 243 additions & 100 deletions

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/" # Location of package manifests
6+
schedule:
7+
interval: "weekly"

.github/workflows/CompatHelper.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,30 @@ on:
55
- cron: 0 0 * * *
66
workflow_dispatch:
77

8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
812
jobs:
913
CompatHelper:
1014
runs-on: ubuntu-latest
1115
steps:
12-
- uses: actions/checkout@v2
16+
- name: Check if Julia is already available in the PATH
17+
id: julia_in_path
18+
run: which julia
19+
continue-on-error: true
20+
- name: Install Julia, but only if it is not already available in the PATH
21+
uses: julia-actions/setup-julia@v1
22+
with:
23+
version: '1'
24+
arch: ${{ runner.arch }}
25+
if: steps.julia_in_path.outcome != 'success'
26+
- name: "Add the General registry via Git"
27+
run: |
28+
import Pkg
29+
ENV["JULIA_PKG_SERVER"] = ""
30+
Pkg.Registry.add("General")
31+
shell: julia --color=yes {0}
1332
- name: "Install CompatHelper"
1433
run: |
1534
import Pkg

.github/workflows/benchmark-comment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
${{ github.event.workflow_run.event == 'pull_request' &&
2525
github.event.workflow_run.conclusion == 'success' }}
2626
steps:
27-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@v4
2828
# restore records from the artifacts
2929
- uses: dawidd6/action-download-artifact@v2
3030
with:
@@ -41,7 +41,7 @@ jobs:
4141
echo ::set-output name=body::$(cat ./pull-request-number.artifact)
4242
# check if the previous comment exists
4343
- name: find comment
44-
uses: peter-evans/find-comment@v1
44+
uses: peter-evans/find-comment@v3
4545
id: fc
4646
with:
4747
issue-number: ${{ steps.output-pull-request-number.outputs.body }}

.github/workflows/benchmark.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
if: contains(github.event.pull_request.labels.*.name, 'performance critical')
1717
steps:
1818
# setup
19-
- uses: actions/checkout@v2
20-
- uses: julia-actions/setup-julia@latest
19+
- uses: actions/checkout@v4
20+
- uses: julia-actions/setup-julia@v1
2121
with:
2222
version: '1.7'
23-
- uses: julia-actions/julia-buildpkg@latest
23+
- uses: julia-actions/julia-buildpkg@v1
2424
- name: install dependencies
2525
run: julia -e 'using Pkg; pkg"add PkgBenchmark BenchmarkCI@0.1"'
2626
# run the benchmark suite
@@ -47,7 +47,7 @@ jobs:
4747
- name: record pull request number
4848
run: echo ${{ github.event.pull_request.number }} > ./pull-request-number.artifact
4949
# save as artifacts (performance tracking (comment) workflow will use it)
50-
- uses: actions/upload-artifact@v2
50+
- uses: actions/upload-artifact@v4
5151
with:
5252
name: Benchmarking
5353
path: ./*.artifact

.github/workflows/ci.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,12 @@ jobs:
3535
- 'MultiOutput'
3636
- 'Others'
3737
steps:
38-
- uses: actions/checkout@v2
38+
- uses: actions/checkout@v4
3939
- uses: julia-actions/setup-julia@v1
4040
with:
4141
version: ${{ matrix.version }}
4242
arch: ${{ matrix.arch }}
43-
- uses: actions/cache@v1
44-
env:
45-
cache-name: cache-artifacts
46-
with:
47-
path: ~/.julia/artifacts
48-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
49-
restore-keys: |
50-
${{ runner.os }}-test-${{ env.cache-name }}-
51-
${{ runner.os }}-test-
52-
${{ runner.os }}-
43+
- uses: julia-actions/cache@v1
5344
- uses: julia-actions/julia-buildpkg@v1
5445
- uses: julia-actions/julia-runtest@v1
5546
with:

.github/workflows/doc_preview_cleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout gh-pages branch
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v4
1313
with:
1414
ref: gh-pages
1515
- name: Delete preview and history + push changes

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
build:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
2121
- uses: julia-actions/setup-julia@latest
2222
with:
2323
version: '1'

.github/workflows/format.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
format:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v2
17-
- uses: julia-actions/setup-julia@latest
16+
- uses: actions/checkout@v4
17+
- uses: julia-actions/setup-julia@v1
1818
with:
1919
version: 1
2020
- run: |

Project.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "KernelFunctions"
22
uuid = "ec8451be-7e33-11e9-00cf-bbf324bd1392"
3-
version = "0.10.56"
3+
version = "0.10.63"
44

55
[deps]
66
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
@@ -25,13 +25,14 @@ ZygoteRules = "700de1a5-db45-46bc-99cf-38207098b444"
2525
ChainRulesCore = "1"
2626
Compat = "3.7, 4"
2727
CompositionsBase = "0.1"
28-
Distances = "0.10"
28+
Distances = "0.10.9"
2929
FillArrays = "0.10, 0.11, 0.12, 0.13, 1"
3030
Functors = "0.1, 0.2, 0.3, 0.4"
3131
IrrationalConstants = "0.1, 0.2"
3232
LogExpFunctions = "0.2.1, 0.3"
3333
Requires = "1.0.1"
3434
SpecialFunctions = "0.8, 0.9, 0.10, 1, 2"
35+
Statistics = "1"
3536
StatsBase = "0.32, 0.33, 0.34"
3637
TensorCore = "0.1"
3738
ZygoteRules = "0.2"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# KernelFunctions.jl
22

3-
![CI](https://github.com/JuliaGaussianProcesses/KernelFunctions.jl/workflows/CI/badge.svg?branch=master)
3+
[![CI](https://github.com/JuliaGaussianProcesses/KernelFunctions.jl/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/JuliaGaussianProcesses/KernelFunctions.jl/actions/workflows/ci.yml?query=branch%3Amaster)
44
[![codecov](https://codecov.io/gh/JuliaGaussianProcesses/KernelFunctions.jl/branch/master/graph/badge.svg?token=rmDh3gb7hN)](https://codecov.io/gh/JuliaGaussianProcesses/KernelFunctions.jl)
55
[![Documentation (stable)](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliagaussianprocesses.github.io/KernelFunctions.jl/stable)
66
[![Documentation (latest)](https://img.shields.io/badge/docs-dev-blue.svg)](https://juliagaussianprocesses.github.io/KernelFunctions.jl/dev)

0 commit comments

Comments
 (0)