From 83540f8c17cccfc6447df4cf0cee25fab3dc3c0f Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Mon, 7 Apr 2025 16:42:59 +1200 Subject: [PATCH 1/2] Prep for v1.1.2 --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 4385b98..104fcd4 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "CSDP" uuid = "0a46da34-8e4b-519e-b418-48813639ff34" repo = "https://github.com/jump-dev/CSDP.jl.git" -version = "1.1.1" +version = "1.1.2" [deps] CSDP_jll = "9ce75daa-2788-5e2c-ba1d-cf8c48367b27" From 77f17b99f8f692352a5018df6c2e57352a1c17cc Mon Sep 17 00:00:00 2001 From: odow Date: Mon, 7 Apr 2025 17:27:45 +1200 Subject: [PATCH 2/2] Update GitHub actions --- .github/workflows/CompatHelper.yml | 19 ------------------- .github/workflows/TagBot.yml | 7 +++++-- .github/workflows/ci.yml | 21 ++++++++------------- .github/workflows/format_check.yml | 4 ++-- 4 files changed, 15 insertions(+), 36 deletions(-) delete mode 100644 .github/workflows/CompatHelper.yml diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml deleted file mode 100644 index dd821e6..0000000 --- a/.github/workflows/CompatHelper.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: CompatHelper - -on: - schedule: - - cron: '00 00 * * *' - -jobs: - CompatHelper: - runs-on: ubuntu-latest - steps: - - uses: julia-actions/setup-julia@latest - with: - version: 1.3 - - name: Pkg.add("CompatHelper") - run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - - name: CompatHelper.main() - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: julia -e 'using CompatHelper; CompatHelper.main()' diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index d77d3a0..778c06f 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -1,9 +1,12 @@ name: TagBot on: - schedule: - - cron: 0 * * * * + issue_comment: + types: + - created + workflow_dispatch: jobs: TagBot: + if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' runs-on: ubuntu-latest steps: - uses: JuliaRegistries/TagBot@v1 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index beb8d28..4dad612 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,10 @@ on: branches: [master] pull_request: types: [opened, synchronize, reopened] +# needed to allow julia-actions/cache to delete old caches that it has created +permissions: + actions: write + contents: read jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} @@ -20,24 +24,15 @@ jobs: os: ubuntu-latest arch: x86 steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 - env: - cache-name: cache-artifacts - with: - path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} - restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- - ${{ runner.os }}- + - uses: julia-actions/cache@v2 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v4 with: file: lcov.info diff --git a/.github/workflows/format_check.yml b/.github/workflows/format_check.yml index b242237..c4482c2 100644 --- a/.github/workflows/format_check.yml +++ b/.github/workflows/format_check.yml @@ -13,12 +13,12 @@ jobs: - uses: julia-actions/setup-julia@latest with: version: '1' - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Format check shell: julia --color=yes {0} run: | using Pkg - Pkg.add(PackageSpec(name="JuliaFormatter", version="0.22.4")) + Pkg.add(PackageSpec(name="JuliaFormatter", version="1")) using JuliaFormatter format(".", verbose=true) out = String(read(Cmd(`git diff`)))