Skip to content

Commit 6c24c71

Browse files
authored
Big clean up (#5)
* Big clean up * Fix README
1 parent 8e59e82 commit 6c24c71

30 files changed

+1135
-3641
lines changed

.github/workflows/documentation.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- main # update to match your development branch (master, main, dev, trunk, ...)
7+
tags: '*'
8+
pull_request:
9+
10+
jobs:
11+
build:
12+
permissions:
13+
contents: write
14+
statuses: write
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: julia-actions/setup-julia@v1
19+
with:
20+
version: '1'
21+
- name: Install dependencies
22+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
23+
- name: Build and deploy
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
26+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
27+
run: julia --project=docs/ docs/make.jl

.github/workflows_deactivated/test.yml renamed to .github/workflows/test.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
1-
name: Run tests
1+
name: Tests
22

3-
on:
3+
on:
44
push:
55
branches:
66
- main
77
pull_request:
88

9+
# needed to allow julia-actions/cache to delete old caches that it has created
10+
permissions:
11+
actions: write
12+
contents: read
13+
914
jobs:
1015
test:
1116
runs-on: ${{ matrix.os }}
@@ -16,11 +21,12 @@ jobs:
1621
os: [ubuntu-latest]
1722

1823
steps:
19-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2025
- uses: julia-actions/setup-julia@v1
2126
with:
2227
version: ${{ matrix.julia-version }}
2328
arch: ${{ matrix.julia-arch }}
29+
- uses: julia-actions/cache@v1
2430
- uses: julia-actions/julia-buildpkg@v1
2531
- uses: julia-actions/julia-runtest@v1
2632
# with:

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ scratchpad.jl
44
*.svg
55
*.tex
66

7-
experiments/data
7+
experiments/data
8+
docs/src/index.md
9+
docs/build/

0 commit comments

Comments
 (0)