Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed May 17, 2023
1 parent 3b0c831 commit 7abccb8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 20 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: CI-SLimOptim

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
# Trigger the workflow on push to master or pull request
# to be merged in master
Expand Down Expand Up @@ -30,7 +34,7 @@ jobs:

steps:
- name: Checkout SlimOptim
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup julia
uses: julia-actions/setup-julia@v1
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/cancel.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: julia-actions/setup-julia@latest

Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "SlimOptim"
uuid = "e4c7bc62-5b23-4522-a1b9-71c2be45f1df"
authors = ["Mathias Louboutin <mathias.louboutin@gmail.com>"]
version = "0.2.0"
version = "0.2.1"

This comment has been minimized.

Copy link
@mloubout

mloubout May 17, 2023

Author Member

[deps]
LineSearches = "d3d80556-e9d4-5f37-9878-2ab0fcc64255"
Expand Down
2 changes: 1 addition & 1 deletion src/SPGSlim.jl
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function _spg(obj::Function, grad!::Function, objgrad!::Function, projection::Fu
x_best = x

# Line search function
isnothing(ls) && (ls = BackTracking{T}(order=3, iterations=options.maxLinesearchIter))
isnothing(ls) && (ls = BackTracking{T}(order=3, iterations=options.maxLinesearchIter, c_1=options.suffDec))
checkls(ls)

# Evaluate Initial Point and objective function
Expand Down

1 comment on commit 7abccb8

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/83794

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.1 -m "<description of version>" 7abccb88b2debfed651f230c881c1041b00735cb
git push origin v0.2.1

Please sign in to comment.