Skip to content

Commit baa183d

Browse files
authored
Fix doctests, further modernize CI (#7)
* Fix doctests, further modernize CI * fix tests on 1.12 * Update docs/Manifest.toml format * Add cache to Documenter.yml
1 parent 215c30f commit baa183d

File tree

10 files changed

+247
-100
lines changed

10 files changed

+247
-100
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
version:
25-
- '1.3'
25+
- 'min'
2626
- '1'
27-
- 'nightly'
27+
- 'pre'
2828
os:
2929
- ubuntu-latest
3030
arch:

.github/workflows/Documenter.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@ jobs:
99
Documenter:
1010
name: Documentation
1111
runs-on: ubuntu-latest
12+
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
13+
actions: write
14+
contents: read
1215
steps:
13-
- uses: actions/checkout@v2
14-
- uses: julia-actions/julia-buildpkg@latest
15-
- uses: julia-actions/julia-docdeploy@latest
16+
- uses: actions/checkout@v4
17+
- uses: julia-actions/cache@v2
18+
- uses: julia-actions/julia-buildpkg@v1
19+
- uses: julia-actions/julia-docdeploy@v1
1620
env:
1721
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1822
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

.github/workflows/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"

.travis.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name = "ModuleDocstrings"
22
uuid = "982ee2ff-df44-427b-be98-c6c9fd49f925"
33
authors = ["Tim Holy <[email protected]> and contributors"]
4-
version = "0.1.0"
4+
version = "0.1.1"
55

66
[compat]
7-
julia = "1.3"
7+
julia = "1.10"
88

99
[extras]
1010
Example = "7876af07-990d-54b4-ab0e-23690620f79a"

0 commit comments

Comments
 (0)