Skip to content

Commit

Permalink
Registrator CI; Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasgrunwald committed Nov 13, 2023
1 parent 8adee09 commit 9b311f8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,14 @@ jobs:
version: ${{ matrix.julia-version }}
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/julia-runtest@latest
register:
needs: test # Only run this once test is completed
name: Register Package
runs-on: ubuntu-latest
steps:
- uses: lukasgrunwald/julia-register-local@master
with:
localregistry: git@github.com:lukasgrunwald/CondMatRegistry.git
ssh_keys: |
${{ secrets.REGISTRY_DEPLOY }}
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "LadderOperators"
uuid = "d27c24bd-84bf-4c52-914b-d12f8784db43"
authors = ["Lukas Grunwald <lukas.grunwald@rwth-aachen.de>"]
version = "0.2.0"
version = "0.2.1"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand Down
3 changes: 2 additions & 1 deletion src/LadderOperators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,15 @@ function ladder_operators(type, Nsites, args...)

return Cdag, C
end

"""
spin_operators(type, Nsites, args...)
Generate multi-site spin operators based on the specified type and system size.
# Arguments
- `type{:heisenberg, :fermi}`: The type of spin representation to generate.
- `Nsites::Int`: The number of sites or particles in the system.
- `Nsites::Int`: The number of sites in the system.
- `args...`: Additional arguments, if needed.
# Returns
Expand Down

0 comments on commit 9b311f8

Please sign in to comment.