diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..9fe168c --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,20 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/JuliaLang/devcontainer-templates/tree/main/src/julia +{ + "name": "Julia", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/base:ubuntu", + // Features to add to the dev container. More info: https://containers.dev/features. + "features": { + // A Feature to install Julia via juliaup. More info: https://github.com/JuliaLang/devcontainer-features/tree/main/src/julia. + "ghcr.io/julialang/devcontainer-features/julia:1": {}, + "ghcr.io/devcontainers/features/python:1": { + "installJupyterlab": true + }, + "ghcr.io/devcontainers-contrib/features/starship:1": {}, + "ghcr.io/rocker-org/devcontainer-features/quarto-cli:1": {} + }, + "postCreateCommand": { + "Initialize Starship Prompt": "echo eval '$(starship init bash)' >> ~/.bashrc" + } +} \ No newline at end of file diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 9ca923d..d881993 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -3,35 +3,27 @@ on: push: branches: - main + workflow_dispatch: + +permissions: + actions: write + contents: read + jobs: test: - name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} runs-on: ${{ matrix.os }} strategy: - fail-fast: true matrix: - version: - - "1" - os: - - ubuntu-latest - arch: - - x64 + julia-version: ["1"] + julia-arch: [x86] + os: [ubuntu-latest] + steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 with: - version: ${{ matrix.version }} - arch: ${{ matrix.arch }} - - uses: actions/cache@v1 - env: - cache-name: cache-artifacts - with: - path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ - hashFiles('**/Project.toml') }} - restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- - ${{ runner.os }}- - - uses: julia-actions/julia-buildpkg@latest - - uses: julia-actions/julia-runtest@latest + version: ${{ matrix.julia-version }} + arch: ${{ matrix.julia-arch }} + - uses: julia-actions/cache@v2 + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 diff --git a/Project.toml b/Project.toml index df5561e..f961059 100644 --- a/Project.toml +++ b/Project.toml @@ -13,13 +13,14 @@ Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a" Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" [compat] -Dates = "1.11.0" +julia = "1" +Dates = "1" DocStringExtensions = "0.9.3" Git = "1.3.1" GitHub = "5.9.0" IOCapture = "0.2.5" Markdown = "1.11.0" -Pkg = "1.11.0" +Pkg = "1" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" diff --git a/docs/src/.gitignore b/docs/src/.gitignore index 075b254..e584a77 100644 --- a/docs/src/.gitignore +++ b/docs/src/.gitignore @@ -1 +1,3 @@ +.quarto +*.quarto_ipynb /.quarto/