Skip to content

Fix various JET errors (#3519) #4046

Fix various JET errors (#3519)

Fix various JET errors (#3519) #4046

Workflow file for this run

name: Documentation
on:
push:
branches: [master]
tags: '*'
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
env:
GKSwstype: nul
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- name: Install dependencies
run: julia --color=yes --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.develop("MathOptInterface"); 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
DOCUMENTER_LATEX_DEBUG: ${{ github.workspace }}/latex-debug-logs
run: julia --color=yes --project=docs/ docs/make.jl
- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: PDF build logs
path: ${{ github.workspace }}/latex-debug-logs
- uses: errata-ai/vale-action@reviewdog
with:
files: docs/src
fail_on_error: true
filter_mode: nofilter
vale_flags: "--config=docs/.vale.ini"
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}