File tree 4 files changed +77
-38
lines changed
4 files changed +77
-38
lines changed Original file line number Diff line number Diff line change
1
+ margin = 100
2
+ indent = 2
3
+ whitespace_typedefs = true
4
+ whitespace_ops_in_indices = true
5
+ remove_extra_newlines = true
6
+ annotate_untyped_fields_with_any = false
7
+ normalize_line_endings = " unix"
Original file line number Diff line number Diff line change 1
- name : Documentation
2
- on :
3
- push :
4
- branches :
5
- - master
6
- tags : ' *'
7
- pull_request :
8
- types : [opened, synchronize, reopened]
9
- jobs :
10
- build :
11
- runs-on : ubuntu-latest
12
- steps :
13
- - uses : actions/checkout@v2
14
- - uses : julia-actions/setup-julia@latest
15
- with :
16
- version : ' 1'
17
- - name : Install dependencies
18
- run : julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
19
- - name : Build and deploy
20
- env :
21
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22
- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
23
- run : julia --project=docs --color=yes docs/make.jl
1
+ name : Documentation
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ tags : ' *'
7
+ pull_request :
8
+ types : [opened, synchronize, reopened]
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - uses : julia-actions/setup-julia@latest
15
+ with :
16
+ version : ' 1'
17
+ - name : Install dependencies
18
+ run : julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
19
+ - name : Build and deploy
20
+ env :
21
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22
+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
23
+ run : julia --project=docs --color=yes docs/make.jl
Original file line number Diff line number Diff line change 1
- name : TagBot
2
- on :
3
- issue_comment :
4
- types :
5
- - created
6
- workflow_dispatch :
7
- jobs :
8
- TagBot :
9
- if : github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
10
- runs-on : ubuntu-latest
11
- steps :
12
- - uses : JuliaRegistries/TagBot@v1
13
- with :
14
- token : ${{ secrets.GITHUB_TOKEN }}
15
- ssh : ${{ secrets.DOCUMENTER_KEY }}
1
+ name : TagBot
2
+ on :
3
+ issue_comment :
4
+ types :
5
+ - created
6
+ workflow_dispatch :
7
+ jobs :
8
+ TagBot :
9
+ if : github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : JuliaRegistries/TagBot@v1
13
+ with :
14
+ token : ${{ secrets.GITHUB_TOKEN }}
15
+ ssh : ${{ secrets.DOCUMENTER_KEY }}
Original file line number Diff line number Diff line change
1
+ # https://github.com/julia-actions/julia-format/blob/master/workflows/format_pr.yml
2
+ name : format-pr
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ - name : Install JuliaFormatter and format
14
+ run : |
15
+ julia -e 'import Pkg; Pkg.add("JuliaFormatter")'
16
+ julia -e 'using JuliaFormatter; format(".")'
17
+ # https://github.com/marketplace/actions/create-pull-request
18
+ # https://github.com/peter-evans/create-pull-request#reference-example
19
+ - name : Create Pull Request
20
+ id : cpr
21
+ uses : peter-evans/create-pull-request@v3
22
+ with :
23
+ token : ${{ secrets.GITHUB_TOKEN }}
24
+ commit-message : " :robot: Format .jl files"
25
+ title : ' [AUTO] JuliaFormatter.jl run'
26
+ branch : auto-juliaformatter-pr
27
+ delete-branch : true
28
+ labels : formatting, automated pr, no changelog
29
+ - name : Check outputs
30
+ run : |
31
+ echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
32
+ echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
You can’t perform that action at this time.
0 commit comments