Add type promotion rules for NoTangent
and ZeroTangent
, and add eltype
for NoTangent
#377
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Format suggestions | |
on: | |
pull_request: | |
concurrency: | |
# Skip intermediate builds: always. | |
# Cancel intermediate builds: only if it is a pull request build. | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: 1 | |
- run: | | |
julia -e 'using Pkg; Pkg.add("JuliaFormatter")' | |
julia -e 'using JuliaFormatter; format("."; verbose=true)' | |
- uses: reviewdog/action-suggester@v1 | |
with: | |
tool_name: JuliaFormatter | |
fail_on_error: true | |
filter_mode: added |