From aa4f4f982ee68872673e728e70695bd5999412d2 Mon Sep 17 00:00:00 2001 From: Orjan Ameye Date: Fri, 14 Jun 2024 09:58:25 +0200 Subject: [PATCH] add downgrade CI (#168) * add downgrade CI * pin DelimitedFiles specify DelimitedFiles * JLD2 compat to 0.4.28 for compat with julia 1.9 * update compats chore: Update Distances, DocStringExtensions, FFTW, JLD2, OrderedCollections, and Symbolics dependencies update symbolics compat update Latexify update HomotopyContinuation update compat HomotopyContinuation again Update HomotopyContinuation dependency to version 2.9 Make Plots work withLatexify update DSP dependency to version 0.8 and add Compat compat rmove Compat Update DSP dependency to version 0.7.5 Update DSP dependency to version 0.7.9 chore: Update Peaks dependency to version 0.5 Update ModelingToolkit dependency to version 9.10 Update ModelingToolkit dependency to version 9.15 Update ModelingToolkit dependency to version 9.17 chore: Update SteadyStateDiffEq dependency to version 2 chore: Update OrdinaryDiffEq and Symbolics dependencies * update github actions * Update default value for lookback input in TagBot workflow --- .github/workflows/CI.yml | 6 ++-- .github/workflows/Documentation.yml | 6 ++-- .github/workflows/TagBot.yml | 2 +- .github/workflows/downgrade.yml | 43 +++++++++++++++++++++++++++++ Project.toml | 30 ++++++++++---------- 5 files changed, 65 insertions(+), 22 deletions(-) create mode 100644 .github/workflows/downgrade.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 17aa8b70..80b0a51f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -40,9 +40,9 @@ jobs: show-versioninfo: true version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: julia-actions/cache@v1 - - uses: julia-actions/julia-buildpkg@latest - - uses: julia-actions/julia-runtest@latest + - 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@v4 # with: diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index d5141b01..5d68ed66 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -26,9 +26,9 @@ jobs: steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 - - uses: julia-actions/cache@v1 - - uses: julia-actions/julia-buildpkg@latest - - uses: julia-actions/julia-docdeploy@latest + - uses: julia-actions/cache@v2 + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-docdeploy@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index 90dc1009..4bad0ec9 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -6,7 +6,7 @@ on: workflow_dispatch: inputs: lookback: - default: 3 + default: "3" permissions: actions: read checks: read diff --git a/.github/workflows/downgrade.yml b/.github/workflows/downgrade.yml new file mode 100644 index 00000000..288d3a39 --- /dev/null +++ b/.github/workflows/downgrade.yml @@ -0,0 +1,43 @@ +name: Downgrade +on: + push: + tags: + - '*' + branches: + - 'master' + pull_request: + branches: + - 'master' +jobs: + test: + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} + runs-on: ${{ matrix.os }} + timeout-minutes: 60 + permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created + actions: write + contents: read + strategy: + matrix: + version: + - '1.10' + # - '1.9' + # - 'nightly' + os: + - ubuntu-latest + arch: + - x64 + steps: + - uses: actions/checkout@v4 + with: + persist-credentials: false + - uses: julia-actions/setup-julia@v2 + with: + show-versioninfo: true + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + - uses: julia-actions/julia-downgrade-compat@v1 + with: + skip: Pkg,TOML + - uses: julia-actions/cache@v2 + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 \ No newline at end of file diff --git a/Project.toml b/Project.toml index 9ccb459f..58cafb79 100644 --- a/Project.toml +++ b/Project.toml @@ -34,22 +34,22 @@ TimeEvolution = "OrdinaryDiffEq" [compat] BijectiveHilbert = "0.3.0" -DSP = "0.7.4" -DelimitedFiles = "1" -Distances = "0.10.7" -DocStringExtensions = "0.9" -FFTW = "1.5.0" -HomotopyContinuation = "2.6.4" -JLD2 = "0.4.24" -Latexify = "0.15.16, 0.16" -ModelingToolkit = "9" -OrderedCollections = "1.4.1" -OrdinaryDiffEq = "v6.33.1" -Peaks = "0.4.0, 0.5" -Plots = "1.35.0" +DSP = "0.7.9" +DelimitedFiles = "1.9" +Distances = "0.10.11" +DocStringExtensions = "0.9.3" +FFTW = "1.8" +HomotopyContinuation = "2.9" +JLD2 = "0.4.48" +Latexify = "0.16" +ModelingToolkit = "9.17" +OrderedCollections = "1.6" +OrdinaryDiffEq = "v6.82.0" +Peaks = "0.5" +Plots = "1.39" ProgressMeter = "1.7.2" -Symbolics = "5.0.0" -SteadyStateDiffEq = "1, 2" +Symbolics = "5.30" +SteadyStateDiffEq = "2" julia = "1.10.0" [extras]