Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into predict
Browse files Browse the repository at this point in the history
penelopeysm authored Dec 6, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents b72a963 + 903e0c6 commit ff52fb3
Showing 11 changed files with 247 additions and 273 deletions.
2 changes: 2 additions & 0 deletions .JuliaFormatter.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
style = "blue"
format_markdown = true
16 changes: 3 additions & 13 deletions .github/workflows/Docs.yml
Original file line number Diff line number Diff line change
@@ -18,21 +18,11 @@ concurrency:
permissions:
contents: write
pull-requests: read
statuses: write

jobs:
docs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
JULIA_DEBUG: Documenter # Print `@debug` statements (https://github.com/JuliaDocs/Documenter.jl/issues/955)
run: julia --project=docs/ docs/make.jl
- name: Build and deploy Documenter.jl docs
uses: TuringLang/DocsNav/DocsDocumenter@v2
49 changes: 0 additions & 49 deletions .github/workflows/DocsNav.yml

This file was deleted.

25 changes: 5 additions & 20 deletions .github/workflows/Format.yml
Original file line number Diff line number Diff line change
@@ -3,11 +3,9 @@ name: Format
on:
push:
branches:
# This is where pull requests from "bors r+" are built.
- staging
# This is where pull requests from "bors try" are built.
- trying
# Build the main branch.
- main
pull_request:
branches:
- main

concurrency:
@@ -19,20 +17,7 @@ concurrency:
jobs:
format:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: 1
- name: Format code
run: |
using Pkg
Pkg.add(; name="JuliaFormatter", uuid="98e50ef6-434e-11e9-1051-2b60c6c9e899")
using JuliaFormatter
format("."; verbose=true)
shell: julia --color=yes {0}
- uses: reviewdog/action-suggester@v1
if: github.event_name == 'pull_request'
with:
tool_name: JuliaFormatter
fail_on_error: true
uses: TuringLang/actions/Format@v2
Loading

0 comments on commit ff52fb3

Please sign in to comment.