Skip to content

Commit 8a5b3a4

Browse files
authored
Use ITensorActions CompatHelper (#47)
1 parent 974d356 commit 8a5b3a4

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
name: CompatHelper
1+
name: "CompatHelper"
2+
23
on:
34
schedule:
45
- cron: 0 0 * * *
56
workflow_dispatch:
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
611
jobs:
7-
CompatHelper:
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: Pkg.add("CompatHelper")
11-
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
12-
- name: CompatHelper.main()
13-
env:
14-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15-
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
16-
run: julia -e 'using CompatHelper; CompatHelper.main()'
12+
compat-helper:
13+
name: "CompatHelper"
14+
uses: "ITensor/ITensorActions/.github/workflows/CompatHelper.yml@main"
15+
with:
16+
localregistry: "https://github.com/ITensor/ITensorRegistry.git"

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ITensorPkgSkeleton"
22
uuid = "3d388ab1-018a-49f4-ae50-18094d5f71ea"
33
authors = ["ITensor developers <[email protected]> and contributors"]
4-
version = "0.2.2"
4+
version = "0.2.3"
55

66
[deps]
77
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
name: CompatHelper
1+
name: "CompatHelper"
2+
23
on:
34
schedule:
45
- cron: 0 0 * * *
56
workflow_dispatch:
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
611
jobs:
7-
CompatHelper:
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: Pkg.add("CompatHelper")
11-
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
12-
- name: CompatHelper.main()
13-
env:
14-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15-
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
16-
run: julia -e 'using CompatHelper; CompatHelper.main()'
12+
compat-helper:
13+
name: "CompatHelper"
14+
uses: "ITensor/ITensorActions/.github/workflows/CompatHelper.yml@main"
15+
with:
16+
localregistry: "https://github.com/ITensor/ITensorRegistry.git"

0 commit comments

Comments
 (0)