From 5b08e04fbd7827272fe5f5d2f98d02b27cb3fd26 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 05:32:34 +0000 Subject: [PATCH 1/5] Bump julia-actions/cache from 1 to 2 Bumps [julia-actions/cache](https://github.com/julia-actions/cache) from 1 to 2. - [Release notes](https://github.com/julia-actions/cache/releases) - [Commits](https://github.com/julia-actions/cache/compare/v1...v2) --- updated-dependencies: - dependency-name: julia-actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/CI.yml | 2 +- .github/workflows/documentation.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 6e444fbf..f15631ce 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -64,7 +64,7 @@ jobs: with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: julia-actions/cache@v1 + - uses: julia-actions/cache@v2 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 env: diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 781721ab..9cbf3f77 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -27,7 +27,7 @@ jobs: - uses: julia-actions/setup-julia@v2 with: version: '1' - - uses: julia-actions/cache@v1 + - uses: julia-actions/cache@v2 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-docdeploy@v1 env: From 6ba2efecd3759a668494b1605f4afb44a552c503 Mon Sep 17 00:00:00 2001 From: Alberto Mercurio Date: Mon, 6 May 2024 19:16:13 +0200 Subject: [PATCH 2/5] Use cache v2 also for benchmarks CI --- .github/workflows/Benchmarks.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/Benchmarks.yml b/.github/workflows/Benchmarks.yml index f7c920ac..68323744 100644 --- a/.github/workflows/Benchmarks.yml +++ b/.github/workflows/Benchmarks.yml @@ -37,17 +37,17 @@ jobs: with: version: '1' arch: x64 - # - uses: julia-actions/cache@v1 - - uses: actions/cache@v4 - 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: actions/cache@v4 + # 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 }}- - name: Run benchmark run: | cd benchmarks From ee51151ac38e93e58f31d968c2070fe13045acd3 Mon Sep 17 00:00:00 2001 From: Alberto Mercurio Date: Mon, 6 May 2024 19:47:05 +0200 Subject: [PATCH 3/5] Minor change --- .github/workflows/Benchmarks.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/Benchmarks.yml b/.github/workflows/Benchmarks.yml index 68323744..c595df48 100644 --- a/.github/workflows/Benchmarks.yml +++ b/.github/workflows/Benchmarks.yml @@ -38,16 +38,6 @@ jobs: version: '1' arch: x64 - uses: julia-actions/cache@v2 - # - uses: actions/cache@v4 - # 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 }}- - name: Run benchmark run: | cd benchmarks From c21a0c051d40816286602c60f26b3217c9961582 Mon Sep 17 00:00:00 2001 From: Alberto Mercurio Date: Mon, 6 May 2024 20:09:56 +0200 Subject: [PATCH 4/5] Change to DOCUMENTER_KEY --- .github/workflows/Benchmarks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Benchmarks.yml b/.github/workflows/Benchmarks.yml index c595df48..1a108ae7 100644 --- a/.github/workflows/Benchmarks.yml +++ b/.github/workflows/Benchmarks.yml @@ -54,7 +54,7 @@ jobs: tool: "julia" output-file-path: benchmarks/benchmarks_output.json summary-always: true - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.DOCUMENTER_KEY }} comment-always: true alert-threshold: "200%" fail-on-alert: true From 4dcf581192d9c9f5edf86ec0bf79441a95c4b5c0 Mon Sep 17 00:00:00 2001 From: Alberto Mercurio Date: Mon, 6 May 2024 20:27:27 +0200 Subject: [PATCH 5/5] Remove concurrency --- .github/workflows/Benchmarks.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/Benchmarks.yml b/.github/workflows/Benchmarks.yml index 1a108ae7..7ae6ce58 100644 --- a/.github/workflows/Benchmarks.yml +++ b/.github/workflows/Benchmarks.yml @@ -21,12 +21,6 @@ permissions: contents: write deployments: write -concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: only if it is a pull request build. - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} - jobs: benchmark: runs-on: ubuntu-latest @@ -53,10 +47,9 @@ jobs: name: Benchmark Results tool: "julia" output-file-path: benchmarks/benchmarks_output.json - summary-always: true - github-token: ${{ secrets.DOCUMENTER_KEY }} - comment-always: true + github-token: ${{ secrets.GITHUB_TOKEN }} alert-threshold: "200%" fail-on-alert: true benchmark-data-dir-path: benchmarks + max-items-in-chart: 100 auto-push: ${{ github.event_name != 'pull_request' }}