Skip to content

Refactor MPOHamiltonian #255

Refactor MPOHamiltonian

Refactor MPOHamiltonian #255

Workflow file for this run

name: FormatCheck
on:
push:
branches:
- 'master'
tags: '*'
pull_request:
branches:
- 'master'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
version:
- '1' # automatically expands to the latest stable 1.x release of Julia
os:
- ubuntu-latest
arch:
- x64
steps:
- uses: julia-actions/setup-julia@latest
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/checkout@v4
- name: Install JuliaFormatter and format
run: |
julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter"))'
julia -e 'using JuliaFormatter; format(".", verbose=true)'